UNPKG

@holographxyz/cli

Version:
407 lines (406 loc) 7.76 kB
[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "stateMutability": "payable", "type": "fallback" }, { "inputs": [], "name": "admin", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "target", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "adminCall", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint32", "name": "fromChain", "type": "uint32" }, { "internalType": "address", "name": "holographableContract", "type": "address" }, { "internalType": "address", "name": "hToken", "type": "address" }, { "internalType": "address", "name": "hTokenRecipient", "type": "address" }, { "internalType": "uint256", "name": "hTokenValue", "type": "uint256" }, { "internalType": "bool", "name": "doNotRevert", "type": "bool" }, { "internalType": "bytes", "name": "bridgeInPayload", "type": "bytes" } ], "name": "bridgeInRequest", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "toChain", "type": "uint32" }, { "internalType": "address", "name": "holographableContract", "type": "address" }, { "internalType": "uint256", "name": "gasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "gasPrice", "type": "uint256" }, { "internalType": "bytes", "name": "bridgeOutPayload", "type": "bytes" } ], "name": "bridgeOutRequest", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "getAdmin", "outputs": [ { "internalType": "address", "name": "adminAddress", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "toChain", "type": "uint32" }, { "internalType": "address", "name": "holographableContract", "type": "address" }, { "internalType": "uint256", "name": "gasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "gasPrice", "type": "uint256" }, { "internalType": "bytes", "name": "bridgeOutPayload", "type": "bytes" } ], "name": "getBridgeOutRequestPayload", "outputs": [ { "internalType": "bytes", "name": "samplePayload", "type": "bytes" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getFactory", "outputs": [ { "internalType": "address", "name": "factory", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getHolograph", "outputs": [ { "internalType": "address", "name": "holograph", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getJobNonce", "outputs": [ { "internalType": "uint256", "name": "jobNonce", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "", "type": "uint32" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "bytes", "name": "", "type": "bytes" } ], "name": "getMessageFee", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getOperator", "outputs": [ { "internalType": "address", "name": "operator", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getRegistry", "outputs": [ { "internalType": "address", "name": "registry", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "initPayload", "type": "bytes" } ], "name": "init", "outputs": [ { "internalType": "bytes4", "name": "", "type": "bytes4" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint32", "name": "toChain", "type": "uint32" }, { "internalType": "address", "name": "holographableContract", "type": "address" }, { "internalType": "bytes", "name": "bridgeOutPayload", "type": "bytes" } ], "name": "revertedBridgeOutRequest", "outputs": [ { "internalType": "string", "name": "revertReason", "type": "string" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "adminAddress", "type": "address" } ], "name": "setAdmin", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "factory", "type": "address" } ], "name": "setFactory", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "holograph", "type": "address" } ], "name": "setHolograph", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" } ], "name": "setOperator", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "registry", "type": "address" } ], "name": "setRegistry", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "stateMutability": "payable", "type": "receive" } ]