UNPKG

@holographxyz/cli

Version:
288 lines (287 loc) 5.54 kB
[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "contractAddress", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "hash", "type": "bytes32" } ], "name": "BridgeableContractDeployed", "type": "event" }, { "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": "uint32", "name": "", "type": "uint32" }, { "internalType": "bytes", "name": "payload", "type": "bytes" } ], "name": "bridgeIn", "outputs": [ { "internalType": "bytes4", "name": "", "type": "bytes4" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "", "type": "uint32" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "bytes", "name": "payload", "type": "bytes" } ], "name": "bridgeOut", "outputs": [ { "internalType": "bytes4", "name": "selector", "type": "bytes4" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "bytes32", "name": "contractType", "type": "bytes32" }, { "internalType": "uint32", "name": "chainType", "type": "uint32" }, { "internalType": "bytes32", "name": "salt", "type": "bytes32" }, { "internalType": "bytes", "name": "byteCode", "type": "bytes" }, { "internalType": "bytes", "name": "initCode", "type": "bytes" } ], "internalType": "struct DeploymentConfig", "name": "config", "type": "tuple" }, { "components": [ { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" }, { "internalType": "uint8", "name": "v", "type": "uint8" } ], "internalType": "struct Verification", "name": "signature", "type": "tuple" }, { "internalType": "address", "name": "signer", "type": "address" } ], "name": "deployHolographableContract", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getAdmin", "outputs": [ { "internalType": "address", "name": "adminAddress", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getHolograph", "outputs": [ { "internalType": "address", "name": "holograph", "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": "adminAddress", "type": "address" } ], "name": "setAdmin", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "holograph", "type": "address" } ], "name": "setHolograph", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "registry", "type": "address" } ], "name": "setRegistry", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "stateMutability": "payable", "type": "receive" } ]