{ "abi": [ { "inputs": [ { "internalType": "address", "name": "_asset", "type": "address" }, { "internalType": "uint16", "name": "_homeChainId", "type": "uint16" }, { "internalType": "address", "name": "_homeBridge", "type": "address" }, { "internalType": "uint256", "name": "_dstPoolId", "type": "uint256" }, { "internalType": "uint256", "name": "_srcPoolId", "type": "uint256" }, { "internalType": "address", "name": "_stgRouter", "type": "address" }, { "internalType": "address", "name": "_lzEndpoint", "type": "address" }, { "internalType": "uint256", "name": "_bridgeGasAmount", "type": "uint256" }, { "internalType": "uint256", "name": "_updateGasAmount", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "AllocatorAlreadySet", "type": "error" }, { "inputs": [], "name": "NotAuthorized", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "inputs": [], "name": "allocator", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "asset", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_amount", "type": "uint256" }, { "internalType": "uint256", "name": "_minAmount", "type": "uint256" } ], "name": "bridgeFunds", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "brigeGasAmount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "dstPoolId", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "estimateBridgeCost", "outputs": [ { "internalType": "uint256", "name": "cost", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "estimateUpdateCost", "outputs": [ { "internalType": "uint256", "name": "cost", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "homeBridge", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "homeChainId", "outputs": [ { "internalType": "uint16", "name": "", "type": "uint16" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "layerZeroEndpoint", "outputs": [ { "internalType": "contract ILayerZeroEndpoint", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "recoverNative", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_allocator", "type": "address" } ], "name": "setAllocator", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_updateGasAmount", "type": "uint256" } ], "name": "setUpdateGasCost", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "srcPoolId", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "stgRouter", "outputs": [ { "internalType": "contract IStargateRouter", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_chainId", "type": "uint256" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "updateChainDebt", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "updateGasAmount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" } ] }