UNPKG

@holographxyz/cli

Version:
318 lines (317 loc) 6.23 kB
[ { "inputs": [ { "internalType": "uint256", "name": "nonce", "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": [ { "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": "toChain", "type": "uint32" }, { "internalType": "uint256", "name": "gasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "gasPrice", "type": "uint256" }, { "internalType": "bytes", "name": "crossChainPayload", "type": "bytes" } ], "name": "getMessageFee", "outputs": [ { "internalType": "uint256", "name": "hlgFee", "type": "uint256" }, { "internalType": "uint256", "name": "msgFee", "type": "uint256" }, { "internalType": "uint256", "name": "dstGasPrice", "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": "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": "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" } ]