@gooddollar/goodprotocol
Version:
GoodDollar Protocol
82 lines (81 loc) • 3.93 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "MultichainRouterMock",
"sourceName": "contracts/mocks/MultichainRouterMock.sol",
"abi": [
{
"inputs": [
{
"internalType": "contract IWrapper",
"name": "_wrapper",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "token",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "chainId",
"type": "uint256"
}
],
"name": "AnySwap",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
},
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "chainId",
"type": "uint256"
}
],
"name": "anySwapOut",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x608060405234801561001057600080fd5b5060405161026338038061026383398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b6101d0806100936000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063241dc2df14610030575b600080fd5b61004361003e36600461012f565b610045565b005b600054604051632770a7eb60e21b8152336004820152602481018490526001600160a01b0390911690639dc29fac906044016020604051808303816000875af1158015610096573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100ba9190610171565b50604080516001600160a01b03808716825285166020820152908101839052606081018290527f857a3ce86031baf6d4db20edf174ef241ceb4b4e633b4bbc832e8bf26935e9079060800160405180910390a150505050565b80356001600160a01b038116811461012a57600080fd5b919050565b6000806000806080858703121561014557600080fd5b61014e85610113565b935061015c60208601610113565b93969395505050506040820135916060013590565b60006020828403121561018357600080fd5b8151801515811461019357600080fd5b939250505056fea2646970667358221220995af11054d35308a14db475cb2d71dbe8c55847c321e8c2a0e6a3a3cdaf27c664736f6c63430008130033",
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063241dc2df14610030575b600080fd5b61004361003e36600461012f565b610045565b005b600054604051632770a7eb60e21b8152336004820152602481018490526001600160a01b0390911690639dc29fac906044016020604051808303816000875af1158015610096573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100ba9190610171565b50604080516001600160a01b03808716825285166020820152908101839052606081018290527f857a3ce86031baf6d4db20edf174ef241ceb4b4e633b4bbc832e8bf26935e9079060800160405180910390a150505050565b80356001600160a01b038116811461012a57600080fd5b919050565b6000806000806080858703121561014557600080fd5b61014e85610113565b935061015c60208601610113565b93969395505050506040820135916060013590565b60006020828403121561018357600080fd5b8151801515811461019357600080fd5b939250505056fea2646970667358221220995af11054d35308a14db475cb2d71dbe8c55847c321e8c2a0e6a3a3cdaf27c664736f6c63430008130033",
"linkReferences": {},
"deployedLinkReferences": {}
}