9 txs
10 calls
constructor
constructor(address _cctpTokenMessenger, uint32 _sourceDomain, address _signer)
functions
cctpTokenMessenger
viewfunction cctpTokenMessenger() view returns (address)
owner
viewfunction owner() view returns (address)
signer
viewfunction signer() view returns (address)
sourceDomain
viewfunction sourceDomain() view returns (uint32)
usedNonces
viewfunction usedNonces(bytes32) view returns (bool)
depositForBurn
nonpayablefunction depositForBurn(tuple quote, bytes signature)
renounceOwnership
nonpayablefunction renounceOwnership()
setSigner
nonpayablefunction setSigner(address _signer)
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
events
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
SimpleTansferToCore
event SimpleTansferToCore(address indexed finalToken, address indexed finalRecipient, uint256 finalAmount, uint256 maxAmountToSponsor)
SponsoredDepositForBurn
event SponsoredDepositForBurn(bytes32 indexed quoteNonce, address indexed originSender, bytes32 indexed finalRecipient, uint256 quoteDeadline, uint256 maxBpsToSponsor, uint256 maxUserSlippageBps, bytes32 finalToken, bytes signature)
errors
InvalidBytes32
error InvalidBytes32()
InvalidDeadline
error InvalidDeadline()
InvalidNonce
error InvalidNonce()
InvalidSignature
error InvalidSignature()
InvalidSourceDomain
error InvalidSourceDomain()
OwnableInvalidOwner
error OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount
error OwnableUnauthorizedAccount(address account)
SafeERC20FailedOperation
error SafeERC20FailedOperation(address token)
creation bytecode
0x60c03461012657601f610e9138819003918201601f19168301916001600160401b0383118484101761012a57808492606094604052833981010312610126576100478161013e565b60208201519163ffffffff83168303610126576040610066910161013e565b91331561010e575f549260018060a01b03918260018060a01b03199433868816175f5560405196823391167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a31660805260a05216906001541617600155610d3e9081610153823960805181818161016a015281816106fd01528181610759015281816107e3015281816108e00152610948015260a0518181816101ab015261059c0152f35b604051631e4fbdf760e01b81525f6004820152602490fd5b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b51906001600160a01b03821682036101265756fe6080806040526004361015610012575f80fd5b5f905f3560e01c908163238ac93314610a8c5750806363cd663b146102ae5780636c19e7831461025b578063715018a6146101f55780638da5cb5b146101cf5780638ddb4a891461018e5780639748cf7c1461014a578063f2fde38b146100b25763feb6172414610081575f80fd5b346100af5760203660031901126100af5760ff60406020926004358152600284522054166040519015158152f35b80fd5b50346100af5760203660031901126100af576004356001600160a01b03808216809203610146576100e1610b93565b811561012d575f548273ffffffffffffffffffffffffffffffffffffffff198216175f55167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a380f35b604051631e4fbdf760e01b815260048101849052602490fd5b8280fd5b50346100af57806003193601126100af5760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b50346100af57806003193601126100af57602060405163ffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b50346100af57806003193601126100af576001600160a01b036020915416604051908152f35b50346100af57806003193601126100af5761020e610b93565b5f6001600160a01b03815473ffffffffffffffffffffffffffffffffffffffff1981168355167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b50346100af5760203660031901126100af576004356001600160a01b0381168091036102aa57610289610b93565b73ffffffffffffffffffffffffffffffffffffffff19600154161760015580f35b5080fd5b50346108c8576003196040368201126108c85767ffffffffffffffff600435116108c8576102008091600435360301126108c85760405190810181811067ffffffffffffffff8211176108a95760405261030c600435600401610aee565b815261031c602460043501610aee565b602082015260043560448101356040830152606481013560608301526084810135608083015260a481013560a083015260c481013560c08301526103629060e401610aee565b60e08201526004356101048101356101008301526101248101356101208301526101448101356101408301526101648101356101608301526101848101356101808301526101a48101356101a08301526101c4013560ff811690036108c8576004356101c48101356101c08301526101e4013567ffffffffffffffff81116108c8576103f5906004369181350101610aff565b6101e082015267ffffffffffffffff602435116108c85761041b36602435600401610aff565b6001600160a01b036001541663ffffffff83511663ffffffff60208501511660408501516060860151608087015160a08801519060c08901519263ffffffff60e08b01511694604051966020880198895260408801526060870152608086015260a085015260c084015260e0830152610100820152610100815261049e81610aaf565b5190206101008401516101208501516101408601516101608701516101808801516101a08901519060ff6101c08b015116926101e08b01516020815191012094604051966020880198895260408801526060870152608086015260a085015260c084015260e0830152610100820152610100815261051b81610aaf565b51902060405191602083015260408201526040815280606081011067ffffffffffffffff6060830111176108a957610563918160608593016040526020815191012090610bbe565b15610a7a576101008201515f52600260205260ff60405f205416610a68576101208201514211610a565763ffffffff82511663ffffffff7f00000000000000000000000000000000000000000000000000000000000000001603610a4457606082015163ffffffff602084015116906040840151916080850151918260a01c610a325760a08601519260c087015163ffffffff60e089015116610100890151916106836101208b0151936106756101408d01518d6101608101516101808201516101a0830151916101e060ff6101c086015116940151946040519b8c9860208a015260408901526060880152608087015260a086015260c085015260e084015261010080840152610120830190610b55565b03601f198101855284610acc565b6101008a01515f52600260205260405f20600160ff198254161790556040516323b872dd60e01b5f5233600452306024528560445260205f606481806001600160a01b038a165af160015f5114811615610a13575b816040525f60605215610998575060405163095ea7b360e01b5f526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166004528560245260205f604481806001600160a01b038a165af160015f51148116156109fd575b81604052156108cc575b506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163b156108c8575f966001600160a01b036107d6956040519a8b998a9963779b432d60e01b8b5260048b015260248a01526044890152166064870152608486015260a485015260c484015261010060e4840152610104830190610b55565b0381836001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000165af180156108bd5761088c575b506101008201517f42d1b5f3692944aee65b659fda3e120f817f17d8f2ac9a256f6fc5d642a591fe6101808401519361012081015190610140810151906101a06101608201519101519160405193845260208401526040830152606082015260a0608082015280610886339560a0830190610b55565b0390a480f35b90925067ffffffffffffffff81116108a9576040525f915f610810565b634e487b7160e01b5f52604160045260245ffd5b6040513d5f823e3d90fd5b5f80fd5b63095ea7b360e01b5f526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166004525f60245260205f604481806001600160a01b038a165af160015f51148116156109de575b8160405215610998575060405163095ea7b360e01b5f526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166004528560245260205f604481806001600160a01b038a165af160015f51148116156109b6575b8160405261074e575b635274afe760e01b81526001600160a01b0385166004820152602490fd5b60018115166109d5576001600160a01b0386163b15153d15161661098f565b503d5f823e3d90fd5b60018115166109d5576001600160a01b0386163b15153d151616610927565b6001600160a01b0386163b15153d151616610744565b60018115166109d5576001600160a01b0386163b15153d1516166106d8565b6040516379ec0ed760e11b8152600490fd5b604051631b91204960e01b8152600490fd5b604051631da7447960e21b8152600490fd5b604051633ab3447f60e11b8152600490fd5b604051638baa579f60e01b8152600490fd5b346108c8575f3660031901126108c8576020906001600160a01b03600154168152f35b610120810190811067ffffffffffffffff8211176108a957604052565b90601f8019910116810190811067ffffffffffffffff8211176108a957604052565b359063ffffffff821682036108c857565b81601f820112156108c85780359067ffffffffffffffff82116108a95760405192610b34601f8401601f191660200185610acc565b828452602083830101116108c857815f926020809301838601378301015290565b91908251928382525f5b848110610b7f575050825f602080949584010152601f8019910116010190565b602081830181015184830182015201610b5f565b6001600160a01b035f54163303610ba657565b60405163118cdaa760e01b8152336004820152602490fd5b9091813b610c0d57610bd09192610c4c565b506004811015610bf957159182610be657505090565b6001600160a01b03918216911614919050565b634e487b7160e01b5f52602160045260245ffd5b6020918160645f935160405192630b135d3f60e11b9788855260048501526040602485015286820190604485015e01915afa905f5114601f3d11161690565b8151919060418303610c7c57610c759250602082015190606060408401519301515f1a90610c86565b9192909190565b50505f9160029190565b91907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08411610cfd579160209360809260ff5f9560405194855216868401526040830152606082015282805260015afa156108bd575f516001600160a01b03811615610cf357905f905f90565b505f906001905f90565b5050505f916003919056fea26469706673582212203848b94e4501b570187ca1309ee7ce2a1fda29e075b6aece0fd70afcdf8860c964736f6c6343000818003300000000000000000000000028b5a0e9c621a5badaa536219b3a228c8168cf5d00000000000000000000000000000000000000000000000000000000000000030000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d