UNPKG

@towns-protocol/generated

Version:

## How to generate contract types

99 lines (98 loc) 1.9 kB
export default [ { "type": "function", "name": "isEntitled", "inputs": [ { "name": "users", "type": "address[]", "internalType": "address[]" }, { "name": "data", "type": "bytes", "internalType": "bytes" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "view" }, { "type": "function", "name": "isEntitledByUserAndId", "inputs": [ { "name": "", "type": "bytes32", "internalType": "bytes32" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "view" }, { "type": "function", "name": "parameters", "inputs": [], "outputs": [ { "name": "", "type": "tuple[]", "internalType": "struct ICrossChainEntitlement.Parameter[]", "components": [ { "name": "name", "type": "string", "internalType": "string" }, { "name": "primitive", "type": "string", "internalType": "string" }, { "name": "description", "type": "string", "internalType": "string" } ] } ], "stateMutability": "pure" }, { "type": "function", "name": "setIsEntitled", "inputs": [ { "name": "id", "type": "uint256", "internalType": "uint256" }, { "name": "user", "type": "address", "internalType": "address" }, { "name": "entitled", "type": "bool", "internalType": "bool" } ], "outputs": [], "stateMutability": "nonpayable" } ] as const