{
  "_format": "hh-sol-artifact-1",
  "contractName": "ERC20MigrationOutbox",
  "sourceName": "src/bridge/extra/ERC20MigrationOutbox.sol",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "contract IERC20Bridge",
          "name": "_bridge",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "_destination",
          "type": "address"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "inputs": [],
      "name": "InvalidDestination",
      "type": "error"
    },
    {
      "inputs": [
        {
          "internalType": "bytes",
          "name": "returndata",
          "type": "bytes"
        }
      ],
      "name": "MigrationFailed",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "NoBalanceToMigrate",
      "type": "error"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "destination",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        }
      ],
      "name": "CollateralMigrated",
      "type": "event"
    },
    {
      "inputs": [],
      "name": "bridge",
      "outputs": [
        {
          "internalType": "contract IERC20Bridge",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "destination",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "migrate",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "nativeToken",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "bytecode": "0x60e060405234801561001057600080fd5b506040516106cd3803806106cd83398101604081905261002f916100f7565b6001600160a01b0381166100565760405163ac6b05f560e01b815260040160405180910390fd5b6001600160a01b03808316608081905290821660c05260408051631c2eb17b60e31b8152905163e1758bd8916004808201926020929091908290030181865afa1580156100a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100cb9190610131565b6001600160a01b031660a052506101559050565b6001600160a01b03811681146100f457600080fd5b50565b6000806040838503121561010a57600080fd5b8251610115816100df565b6020840151909250610126816100df565b809150509250929050565b60006020828403121561014357600080fd5b815161014e816100df565b9392505050565b60805160a05160c0516105296101a460003960008181606001528181610247015261034201526000818160b0015261016101526000818160d701528181610136015261028901526105296000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80638fd3ab8014610051578063b269681d1461005b578063e1758bd8146100ab578063e78cea92146100d2575b600080fd5b6100596100f9565b005b6100827f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6100827f000000000000000000000000000000000000000000000000000000000000000081565b6100827f000000000000000000000000000000000000000000000000000000000000000081565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000811660048301526000917f0000000000000000000000000000000000000000000000000000000000000000909116906370a0823190602401602060405180830381865afa1580156101aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101ce91906103b5565b90508060000361020a576040517f55fd3ea500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f9e5d4c4900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000008116600483015260248201839052606060448301526000606483018190529182917f00000000000000000000000000000000000000000000000000000000000000001690639e5d4c49906084016000604051808303816000875af11580156102d2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102fa9190810190610421565b915091508161034057806040517f56d3a10e00000000000000000000000000000000000000000000000000000000815260040161033791906104e9565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f1368d2e52803cc941bb2f4a966f4040f00dd7d6483d7a924da121f7df2b20b26846040516103a891815260200190565b60405180910390a2505050565b6000602082840312156103c757600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60005b83811015610418578181015183820152602001610400565b50506000910152565b6000806040838503121561043457600080fd5b8251801515811461044457600080fd5b602084015190925067ffffffffffffffff8082111561046257600080fd5b818501915085601f83011261047657600080fd5b815181811115610488576104886103ce565b604051601f8201601f19908116603f011681019083821181831017156104b0576104b06103ce565b816040528281528860208487010111156104c957600080fd5b6104da8360208301602088016103fd565b80955050505050509250929050565b60208152600082518060208401526105088160408501602087016103fd565b601f01601f1916919091016040019291505056fea164736f6c6343000811000a",
  "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80638fd3ab8014610051578063b269681d1461005b578063e1758bd8146100ab578063e78cea92146100d2575b600080fd5b6100596100f9565b005b6100827f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6100827f000000000000000000000000000000000000000000000000000000000000000081565b6100827f000000000000000000000000000000000000000000000000000000000000000081565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000811660048301526000917f0000000000000000000000000000000000000000000000000000000000000000909116906370a0823190602401602060405180830381865afa1580156101aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101ce91906103b5565b90508060000361020a576040517f55fd3ea500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f9e5d4c4900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000008116600483015260248201839052606060448301526000606483018190529182917f00000000000000000000000000000000000000000000000000000000000000001690639e5d4c49906084016000604051808303816000875af11580156102d2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102fa9190810190610421565b915091508161034057806040517f56d3a10e00000000000000000000000000000000000000000000000000000000815260040161033791906104e9565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f1368d2e52803cc941bb2f4a966f4040f00dd7d6483d7a924da121f7df2b20b26846040516103a891815260200190565b60405180910390a2505050565b6000602082840312156103c757600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60005b83811015610418578181015183820152602001610400565b50506000910152565b6000806040838503121561043457600080fd5b8251801515811461044457600080fd5b602084015190925067ffffffffffffffff8082111561046257600080fd5b818501915085601f83011261047657600080fd5b815181811115610488576104886103ce565b604051601f8201601f19908116603f011681019083821181831017156104b0576104b06103ce565b816040528281528860208487010111156104c957600080fd5b6104da8360208301602088016103fd565b80955050505050509250929050565b60208152600082518060208401526105088160408501602087016103fd565b601f01601f1916919091016040019291505056fea164736f6c6343000811000a",
  "linkReferences": {},
  "deployedLinkReferences": {}
}
