41 txs
126 calls
constructor
constructor(address _configuration)
functions
arcas
viewfunction arcas() view returns (address)
getFee
viewfunction getFee(uint256 _amount, address _tokenRecipient) view returns (uint256 fee)
getRouter
viewfunction getRouter() view returns (address)
lock
viewfunction lock() view returns (bool)
owner
viewfunction owner() view returns (address result)
ownershipHandoverExpiresAt
viewfunction ownershipHandoverExpiresAt(address pendingOwner) view returns (uint256 result)
supportsInterface
purefunction supportsInterface(bytes4 interfaceId) pure returns (bool)
weth
viewfunction weth() view returns (address)
bridge
payablefunction bridge(uint256 _amount, address _tokenRecipient) payable returns (bytes32 messageId)
cancelOwnershipHandover
payablefunction cancelOwnershipHandover() payable
ccipReceive
nonpayablefunction ccipReceive(tuple message)
completeOwnershipHandover
payablefunction completeOwnershipHandover(address pendingOwner) payable
renounceOwnership
payablefunction renounceOwnership() payable
requestOwnershipHandover
payablefunction requestOwnershipHandover() payable
toggleLock
nonpayablefunction toggleLock()
transferOwnership
payablefunction transferOwnership(address newOwner) payable
withdrawWeth
nonpayablefunction withdrawWeth(uint256 _amount, address _recipient)
events
OwnershipHandoverCanceled
event OwnershipHandoverCanceled(address indexed pendingOwner)
OwnershipHandoverRequested
event OwnershipHandoverRequested(address indexed pendingOwner)
OwnershipTransferred
event OwnershipTransferred(address indexed oldOwner, address indexed newOwner)
errors
AlreadyInitialized
error AlreadyInitialized()
BridgeLocked
error BridgeLocked()
CannotSendToBurnAddress
error CannotSendToBurnAddress()
InsufficientFeePayment
error InsufficientFeePayment()
InsufficientTokenBalance
error InsufficientTokenBalance()
InsufficientWETH
error InsufficientWETH()
InvalidAmount
error InvalidAmount()
InvalidChainSelector
error InvalidChainSelector()
InvalidRouter
error InvalidRouter(address router)
InvalidSender
error InvalidSender()
NewOwnerIsZeroAddress
error NewOwnerIsZeroAddress()
NoHandoverRequest
error NoHandoverRequest()
Unauthorized
error Unauthorized()
creation bytecode
0x610120604052348015610010575f80fd5b5060405161182d38038061182d83398101604081905261002f916102c0565b806001600160a01b031663b0f479a16040518163ffffffff1660e01b8152600401602060405180830381865afa15801561006b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061008f91906102c0565b6001600160a01b0381166100bc576040516335fdcccd60e21b81525f600482015260240160405180910390fd5b806001600160a01b03166080816001600160a01b0316815250505060015f819055505f805f80846001600160a01b0316636bd50cef6040518163ffffffff1660e01b8152600401608060405180830381865afa15801561011e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061014291906102e0565b6001600160a01b0380851660e052808416610100526001600160401b03831660a05280821660c0526001805460ff19168117905560408051638da5cb5b60e01b8152905195995093975091955093506101ea9290881691638da5cb5b9160048083019260209291908290030181865afa1580156101c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101e591906102c0565b61026a565b6101005160405163095ea7b360e01b81526001600160a01b0386811660048301525f1960248301529091169063095ea7b3906044016020604051808303815f875af115801561023b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061025f919061033f565b50505050505061035e565b6001600160a01b0316638b78c6d819819055805f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a350565b80516001600160a01b03811681146102bb575f80fd5b919050565b5f602082840312156102d0575f80fd5b6102d9826102a5565b9392505050565b5f805f80608085870312156102f3575f80fd5b6102fc856102a5565b935061030a602086016102a5565b60408601519093506001600160401b0381168114610326575f80fd5b9150610334606086016102a5565b905092959194509250565b5f6020828403121561034f575f80fd5b815180151581146102d9575f80fd5b60805160a05160c05160e051610100516114306103fd5f395f81816101b70152818161036b01528181610421015281816106b4015281816107ac01528181610821015281816109550152610aa601525f81816108a30152610b0901525f81816101640152818161072201528181610d850152610e3301525f81816108d301528181610b360152610c8401525f818161024f015261053401526114305ff3fe6080604052600436106100fa575f3560e01c80638da5cb5b11610092578063f04e283e11610062578063f04e283e14610292578063f2fde38b146102a5578063f83d08ba146102b8578063fee81cf4146102d1578063ff9413d814610302575f80fd5b80638da5cb5b146102085780639394d2e814610220578063b0f479a114610241578063dfcf048d14610273575f80fd5b80633fc8cef3116100cd5780633fc8cef3146101a657806354d1f13d146101d9578063715018a6146101e157806385572ffb146101e9575f80fd5b806301ffc9a7146100fe57806302a0ba3f14610132578063236e7cb414610153578063256929621461019e575b5f80fd5b348015610109575f80fd5b5061011d610118366004610f3d565b610316565b60405190151581526020015b60405180910390f35b34801561013d575f80fd5b5061015161014c366004610f7f565b61034c565b005b34801561015e575f80fd5b506101867f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610129565b610151610490565b3480156101b1575f80fd5b506101867f000000000000000000000000000000000000000000000000000000000000000081565b6101516104dd565b610151610516565b3480156101f4575f80fd5b50610151610203366004610fad565b610529565b348015610213575f80fd5b50638b78c6d81954610186565b61023361022e366004610f7f565b61058d565b604051908152602001610129565b34801561024c575f80fd5b507f0000000000000000000000000000000000000000000000000000000000000000610186565b34801561027e575f80fd5b5061023361028d366004610f7f565b6109f1565b6101516102a0366004610fe4565b610ba7565b6101516102b3366004610fe4565b610be1565b3480156102c3575f80fd5b5060015461011d9060ff1681565b3480156102dc575f80fd5b506102336102eb366004610fe4565b63389a75e1600c9081525f91909152602090205490565b34801561030d575f80fd5b50610151610c07565b5f6001600160e01b031982166385572ffb60e01b148061034657506001600160e01b031982166301ffc9a760e01b145b92915050565b610354610c23565b6040516370a0823160e01b815230600482015282907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156103b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103dc9190610fff565b10156103fb57604051636f2750f560e01b815260040160405180910390fd5b60405163a9059cbb60e01b81526001600160a01b038281166004830152602482018490527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb906044016020604051808303815f875af1158015610467573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061048b9190611016565b505050565b5f6202a30067ffffffffffffffff164201905063389a75e1600c52335f52806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f80a250565b63389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f80a2565b61051e610c23565b6105275f610c3d565b565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610579576040516335fdcccd60e21b81523360048201526024015b60405180910390fd5b61058a610585826111f6565b610c7a565b50565b5f610596610ea9565b60015460ff16156105ba5760405163107c757f60e31b815260040160405180910390fd5b6001600160a01b0382166105e157604051639fd720a960e01b815260040160405180910390fd5b825f036106015760405163162908e360e11b815260040160405180910390fd5b6040805160a081019091523060c08201525f908060e08101604051602081830303815290604052815260200185856040516020016106529291909182526001600160a01b0316602082015260400190565b60408051601f1981840301815291905281526020015f6040519080825280602002602001820160405280156106ac57816020015b604080518082019091525f80825260208201528152602001906001900390816106865790505b5081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020016106fb6040518060200160405280620186a0815250610f00565b90526040516323b872dd60e01b8152336004820152306024820152604481018690529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd906064016020604051808303815f875af1158015610770573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107949190611016565b506040516370a0823160e01b81523060048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156107f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081d9190610fff565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004015f604051808303818588803b158015610878575f80fd5b505af115801561088a573d5f803e3d5ffd5b50506040516396f4e9f960e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001693506396f4e9f992506108fd91507f00000000000000000000000000000000000000000000000000000000000000009086906004016112e1565b6020604051808303815f875af1158015610919573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093d9190610fff565b6040516370a0823160e01b81523060048201529093507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156109a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109c69190610fff565b8111156109e65760405163481fdfa360e11b815260040160405180910390fd5b505061034660015f55565b6040805160a081019091523060c08201525f9081908060e0810160405160208183030381529060405281526020018585604051602001610a449291909182526001600160a01b0316602082015260400190565b60408051601f1981840301815291905281526020015f604051908082528060200260200182016040528015610a9e57816020015b604080518082019091525f8082526020820152815260200190600190039081610a785790505b5081526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602001610aed6040518060200160405280620186a0815250610f00565b90526040516320487ded60e01b81529091506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906320487ded90610b60907f00000000000000000000000000000000000000000000000000000000000000009085906004016112e1565b602060405180830381865afa158015610b7b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b9f9190610fff565b949350505050565b610baf610c23565b63389a75e1600c52805f526020600c208054421115610bd557636f5e88185f526004601cfd5b5f905561058a81610c3d565b610be9610c23565b8060601b610bfe57637448fbae5f526004601cfd5b61058a81610c3d565b610c0f610c23565b6001805460ff19811660ff90911615179055565b638b78c6d819543314610527576382b429005f526004601cfd5b638b78c6d81980546001600160a01b039092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a355565b610c82610ea9565b7f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff16816020015167ffffffffffffffff1614610cda576040516332b29ae760e11b815260040160405180910390fd5b306001600160a01b03168160400151806020019051810190610cfc91906113bc565b6001600160a01b031614610d2357604051636edaef2f60e11b815260040160405180910390fd5b60015460ff1615610d475760405163107c757f60e31b815260040160405180910390fd5b5f808260600151806020019051810190610d6191906113d7565b6040516370a0823160e01b8152306004820152919350915082906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015610dca573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dee9190610fff565b1015610e0d57604051637222ae5760e11b815260040160405180910390fd5b60405163a9059cbb60e01b81526001600160a01b038281166004830152602482018490527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb906044016020604051808303815f875af1158015610e79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e9d9190611016565b50505061058a60015f55565b60025f5403610efa5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610570565b60025f55565b60408051915160248084019190915281518084039091018152604490920190526020810180516001600160e01b03166397a657c960e01b17905290565b5f60208284031215610f4d575f80fd5b81356001600160e01b031981168114610f64575f80fd5b9392505050565b6001600160a01b038116811461058a575f80fd5b5f8060408385031215610f90575f80fd5b823591506020830135610fa281610f6b565b809150509250929050565b5f60208284031215610fbd575f80fd5b813567ffffffffffffffff811115610fd3575f80fd5b820160a08185031215610f64575f80fd5b5f60208284031215610ff4575f80fd5b8135610f6481610f6b565b5f6020828403121561100f575f80fd5b5051919050565b5f60208284031215611026575f80fd5b81518015158114610f64575f80fd5b634e487b7160e01b5f52604160045260245ffd5b6040805190810167ffffffffffffffff8111828210171561106c5761106c611035565b60405290565b60405160a0810167ffffffffffffffff8111828210171561106c5761106c611035565b604051601f8201601f1916810167ffffffffffffffff811182821017156110be576110be611035565b604052919050565b803567ffffffffffffffff811681146110dd575f80fd5b919050565b5f82601f8301126110f1575f80fd5b813567ffffffffffffffff81111561110b5761110b611035565b61111e601f8201601f1916602001611095565b818152846020838601011115611132575f80fd5b816020850160208301375f918101602001919091529392505050565b5f82601f83011261115d575f80fd5b8135602067ffffffffffffffff82111561117957611179611035565b611187818360051b01611095565b82815260069290921b840181019181810190868411156111a5575f80fd5b8286015b848110156111eb57604081890312156111c0575f80fd5b6111c8611049565b81356111d381610f6b565b815281850135858201528352918301916040016111a9565b509695505050505050565b5f60a08236031215611206575f80fd5b61120e611072565b8235815261121e602084016110c6565b6020820152604083013567ffffffffffffffff8082111561123d575f80fd5b611249368387016110e2565b60408401526060850135915080821115611261575f80fd5b61126d368387016110e2565b60608401526080850135915080821115611285575f80fd5b506112923682860161114e565b60808301525092915050565b5f81518084525f5b818110156112c2576020818501810151868301820152016112a6565b505f602082860101526020601f19601f83011685010191505092915050565b5f604067ffffffffffffffff851683526020604081850152845160a0604086015261130f60e086018261129e565b905081860151603f198087840301606088015261132c838361129e565b6040890151888203830160808a0152805180835290860194505f9350908501905b8084101561137f57845180516001600160a01b031683528601518683015293850193600193909301929086019061134d565b5060608901516001600160a01b031660a08901526080890151888203830160c08a015295506113ae818761129e565b9a9950505050505050505050565b5f602082840312156113cc575f80fd5b8151610f6481610f6b565b5f80604083850312156113e8575f80fd5b825191506020830151610fa281610f6b56fea2646970667358221220135af6e760b57f1e869bcac9c9a33c8dd6205f754b6404bb3d9de9efd8dd55c764736f6c63430008190033000000000000000000000000bc9d05517c10b14b241b6bb1c1149e337fd80e4b