0 txs
250 calls
constructor
constructor(address bridgeHandler, address xcAmple_, address xcController_)
functions
owner
viewfunction owner() view returns (address)
xcAmple
viewfunction xcAmple() view returns (address)
xcController
viewfunction xcController() view returns (address)
mint
nonpayablefunction mint(address senderAddressInSourceChain, address recipient, uint256 amount, uint256 globalAMPLSupply)
renounceOwnership
nonpayablefunction renounceOwnership()
reportRebase
nonpayablefunction reportRebase(uint256 globalAmpleforthEpoch, uint256 globalAMPLSupply)
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
unlock
nonpayablefunction unlock(address senderAddressInSourceChain, address recipient, uint256 amount, uint256 globalAMPLSupply)
validateAndBurn
nonpayablefunction validateAndBurn(address sender, address recipientAddressInTargetChain, uint256 amount, uint256 globalAMPLSupply)
validateAndLock
nonpayablefunction validateAndLock(address sender, address recipientAddressInTargetChain, uint256 amount, uint256 globalAMPLSupply)
validateRebaseReport
nonpayablefunction validateRebaseReport(uint256 globalAmpleforthEpoch, uint256 globalAMPLSupply)
events
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
XCRebaseReportIn
event XCRebaseReportIn(uint256 globalAmpleforthEpoch, uint256 globalAMPLSupply, uint256 recordedGlobalAmpleforthEpoch, uint256 recordedGlobalAMPLSupply)
XCRebaseReportOut
event XCRebaseReportOut(uint256 globalAmpleforthEpoch, uint256 globalAMPLSupply)
XCTransferIn
event XCTransferIn(address indexed senderInSourceChain, address indexed recipient, uint256 globalAMPLSupply, uint256 amount, uint256 recordedGlobalAMPLSupply)
XCTransferOut
event XCTransferOut(address indexed sender, address indexed recipientInTargetChain, uint256 amount, uint256 recordedGlobalAMPLSupply)
errors
No errors.
creation bytecode
0x60c060405234801561001057600080fd5b50604051610e9a380380610e9a8339818101604052606081101561003357600080fd5b5080516020820151604090920151909190600061004e6100b1565b600080546001600160a01b0319166001600160a01b038316908117825560405192935091600080516020610e7a833981519152908290a3506001600160601b0319606083811b821660805282901b1660a0526100a9836100b5565b5050506101c6565b3390565b6100bd6100b1565b6001600160a01b03166100ce6101b7565b6001600160a01b031614610129576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811661016e5760405162461bcd60e51b8152600401808060200182810382526026815260200180610e546026913960400191505060405180910390fd5b600080546040516001600160a01b0380851693921691600080516020610e7a83398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b60805160601c60a05160601c610c426102126000398061025b528061048d528061067152806108b65280610a1852508061039e528061052452806105ac52806109595250610c426000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80638da5cb5b116100715780638da5cb5b1461013b578063b3f1c93d14610143578063cc314dcb1461017f578063ee9dce9114610187578063f2fde38b146101c3578063fe5f0d1a146101e9576100a9565b806312f45e90146100ae5780634202e907146100ae5780636d88833d146100ec5780636e5bac181461010f578063715018a614610133575b600080fd5b6100ea600480360360808110156100c457600080fd5b506001600160a01b0381358116916020810135909116906040810135906060013561020c565b005b6100ea6004803603604081101561010257600080fd5b508035906020013561020c565b610117610259565b604080516001600160a01b039092168252519081900360200190f35b6100ea61027d565b610117610329565b6100ea6004803603608081101561015957600080fd5b506001600160a01b03813581169160208101359091169060408101359060600135610338565b610117610522565b6100ea6004803603608081101561019d57600080fd5b506001600160a01b03813581169160208101359091169060408101359060600135610546565b6100ea600480360360208110156101d957600080fd5b50356001600160a01b031661074e565b6100ea600480360360408110156101ff57600080fd5b5080359060200135610850565b6040805162461bcd60e51b815260206004820181905260248201527f476174657761792066756e6374696f6e204e4f545f494d504c454d454e544544604482015290519081900360640190fd5b7f000000000000000000000000000000000000000000000000000000000000000081565b610285610aa2565b6001600160a01b0316610296610329565b6001600160a01b0316146102df576040805162461bcd60e51b81526020600482018190526024820152600080516020610bed833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b610340610aa2565b6001600160a01b0316610351610329565b6001600160a01b03161461039a576040805162461bcd60e51b81526020600482018190526024820152600080516020610bed833981519152604482015290519081900360640190fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631a795e296040518163ffffffff1660e01b815260040160206040518083038186803b1580156103f557600080fd5b505afa158015610409573d6000803e3d6000fd5b505050506040513d602081101561041f57600080fd5b505190506000610439836104338685610aa6565b90610b08565b604080518581526020810183905280820185905290519192506001600160a01b038716916000917f7906be9aa72ffa8a180b40fcc5c56460ccfa2df5dc9df88354be3e50367e7d11919081900360600190a37f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166340c10f1986836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561050257600080fd5b505af1158015610516573d6000803e3d6000fd5b50505050505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b61054e610aa2565b6001600160a01b031661055f610329565b6001600160a01b0316146105a8576040805162461bcd60e51b81526020600482018190526024820152600080516020610bed833981519152604482015290519081900360640190fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631a795e296040518163ffffffff1660e01b815260040160206040518083038186803b15801561060357600080fd5b505afa158015610617573d6000803e3d6000fd5b505050506040513d602081101561062d57600080fd5b5051905081811461066f5760405162461bcd60e51b8152600401808060200182810382526036815260200180610b966036913960400191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639dc29fac86856040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156106e657600080fd5b505af11580156106fa573d6000803e3d6000fd5b505060408051868152602081018590528151600094506001600160a01b038a1693507f625df11cd4f15d83f560f2840267e79fa6447b1ba4fbff20a9474c1185456c2c929181900390910190a35050505050565b610756610aa2565b6001600160a01b0316610767610329565b6001600160a01b0316146107b0576040805162461bcd60e51b81526020600482018190526024820152600080516020610bed833981519152604482015290519081900360640190fd5b6001600160a01b0381166107f55760405162461bcd60e51b8152600401808060200182810382526026815260200180610b706026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b610858610aa2565b6001600160a01b0316610869610329565b6001600160a01b0316146108b2576040805162461bcd60e51b81526020600482018190526024820152600080516020610bed833981519152604482015290519081900360640190fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166399deb9966040518163ffffffff1660e01b815260040160206040518083038186803b15801561090d57600080fd5b505afa158015610921573d6000803e3d6000fd5b505050506040513d602081101561093757600080fd5b505160408051631a795e2960e01b815290519192506000916001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691631a795e29916004808301926020929190829003018186803b15801561099f57600080fd5b505afa1580156109b3573d6000803e3d6000fd5b505050506040513d60208110156109c957600080fd5b505160408051868152602081018690528082018590526060810183905290519192507f22832c1d917baa3c46395463a7fb6265ef7f437499c87f4bc487c4e13bdd0221919081900360800190a17f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663fe5f0d1a85856040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b158015610a8457600080fd5b505af1158015610a98573d6000803e3d6000fd5b5050505050505050565b3390565b600082610ab557506000610b02565b82820282848281610ac257fe5b0414610aff5760405162461bcd60e51b8152600401808060200182810382526021815260200180610bcc6021913960400191505060405180910390fd5b90505b92915050565b6000808211610b5e576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381610b6757fe5b04939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373436861696e4272696467655843416d706c65476174657761793a20746f74616c20737570706c79206e6f7420636f6e73697374656e74536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212207f290aae79010a7e19ead9702f4355b4138734c267a3495fa7b14def36619f8164736f6c634300070300334f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573738be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0000000000000000000000000431a7bb43b6242225ceb97bde140219b4d043116000000000000000000000000db021b1b247fe2f1fa57e0a87c748cc1e321f07f00000000000000000000000017f084dff8a71e38521bcbd3da871753dc67aa81