0 txs
0 calls
constructor
constructor(address _fxChild, address xcAmple_, address xcController_)
functions
fxChild
viewfunction fxChild() view returns (address)
fxRootTunnel
viewfunction fxRootTunnel() view returns (address)
xcAmple
viewfunction xcAmple() view returns (address)
xcController
viewfunction xcController() view returns (address)
processMessageFromRoot
nonpayablefunction processMessageFromRoot(uint256 stateId, address rootMessageSender, bytes data)
setFxRootTunnel
nonpayablefunction setFxRootTunnel(address _fxRootTunnel)
transfer
nonpayablefunction transfer(address recipientInTargetChain, uint256 amount)
events
MessageSent
event MessageSent(bytes message)
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
0x60c060405234801561001057600080fd5b5060405161099e38038061099e8339818101604052606081101561003357600080fd5b5080516020820151604090920151600080546001600160a01b0319166001600160a01b03938416178155606084811b6001600160601b03199081166080529083901b1660a052928216929116906108ed906100b19039806101a8528061038452806106225250806102d75280610475528061053b52506108ed6000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c8063888370941161005b57806388837094146100b65780639a7c4b71146100de578063a9059cbb14610163578063cc314dcb1461018f5761007d565b8063450d11f0146100825780636e5bac18146100a65780637f1e9cb0146100ae575b600080fd5b61008a610197565b604080516001600160a01b039092168252519081900360200190f35b61008a6101a6565b61008a6101ca565b6100dc600480360360208110156100cc57600080fd5b50356001600160a01b03166101d9565b005b6100dc600480360360608110156100f457600080fd5b8135916001600160a01b036020820135169181019060608101604082013564010000000081111561012457600080fd5b82018360208201111561013657600080fd5b8035906020019184600183028401116401000000008311171561015857600080fd5b509092509050610243565b6100dc6004803603604081101561017957600080fd5b506001600160a01b0381351690602001356102d3565b61008a610473565b6000546001600160a01b031681565b7f000000000000000000000000000000000000000000000000000000000000000081565b6001546001600160a01b031681565b6001546001600160a01b0316156102215760405162461bcd60e51b815260040180806020018281038252602a81526020018061088e602a913960400191505060405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461028c5760405162461bcd60e51b81526004018080602001828103825260218152602001806108216021913960400191505060405180910390fd5b6102cd848484848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061049792505050565b50505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631a795e296040518163ffffffff1660e01b815260040160206040518083038186803b15801561032e57600080fd5b505afa158015610342573d6000803e3d6000fd5b505050506040513d602081101561035857600080fd5b505160408051632770a7eb60e21b81523360048201526024810185905290519192506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691639dc29fac9160448082019260009290919082900301818387803b1580156103cc57600080fd5b505af11580156103e0573d6000803e3d6000fd5b5050604080518581526020810185905281516001600160a01b03881694503393507f625df11cd4f15d83f560f2840267e79fa6447b1ba4fbff20a9474c1185456c2c929181900390910190a3604080513360208201526001600160a01b038516818301526060810184905260808082018490528251808303909101815260a090910190915261046e906106bb565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60015482906001600160a01b038083169116146104e55760405162461bcd60e51b815260040180806020018281038252602b815260200180610842602b913960400191505060405180910390fd5b60008060008085806020019051608081101561050057600080fd5b5080516020808301516040808501516060909501518151631a795e2960e01b8152915194995091975093955093506000926001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001692631a795e2992600480840193919291829003018186803b15801561057f57600080fd5b505afa158015610593573d6000803e3d6000fd5b505050506040513d60208110156105a957600080fd5b5051905060006105c3836105bd8685610757565b906107b9565b9050846001600160a01b0316866001600160a01b03167f7906be9aa72ffa8a180b40fcc5c56460ccfa2df5dc9df88354be3e50367e7d1185848660405180848152602001838152602001828152602001935050505060405180910390a37f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166340c10f1986836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561069757600080fd5b505af11580156106ab573d6000803e3d6000fd5b5050505050505050505050505050565b7f8c5261668696ce22758910d05bab8f186d6eb247ceac2af2e82c7dc17669b036816040518080602001828103825283818151815260200191508051906020019080838360005b8381101561071a578181015183820152602001610702565b50505050905090810190601f1680156107475780820380516001836020036101000a031916815260200191505b509250505060405180910390a150565b600082610766575060006107b3565b8282028284828161077357fe5b04146107b05760405162461bcd60e51b815260040180806020018281038252602181526020018061086d6021913960400191505060405180910390fd5b90505b92915050565b600080821161080f576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161081857fe5b04939250505056fe4678426173654368696c6454756e6e656c3a20494e56414c49445f53454e4445524678426173654368696c6454756e6e656c3a20494e56414c49445f53454e4445525f46524f4d5f524f4f54536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774678426173654368696c6454756e6e656c3a20524f4f545f54554e4e454c5f414c52454144595f534554a2646970667358221220497d1ad2bccccfd7e1ed81a5eadbd821feb01a60291105180a1e270bfff6b73564736f6c634300070300330000000000000000000000008397259c983751daf40400790063935a11afa28a000000000000000000000000c67238827da94b15f6ba10f3d35f690809919f750000000000000000000000000af32f7b0733dbfe59e52712c3fbf2d1b4ebd00f