UNPKG

@chainlink/contracts

Version:

Chainlink smart contracts

192 lines (191 loc) 3.63 kB
[ { "inputs": [ { "internalType": "address", "name": "acceptor", "type": "address" }, { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" }, { "internalType": "uint8", "name": "v", "type": "uint8" } ], "name": "acceptTermsOfService", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" } ], "name": "blockSender", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getAllAllowedSenders", "outputs": [ { "internalType": "address[]", "name": "", "type": "address[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getAllowedSendersCount", "outputs": [ { "internalType": "uint64", "name": "", "type": "uint64" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint64", "name": "allowedSenderIdxStart", "type": "uint64" }, { "internalType": "uint64", "name": "allowedSenderIdxEnd", "type": "uint64" } ], "name": "getAllowedSendersInRange", "outputs": [ { "internalType": "address[]", "name": "allowedSenders", "type": "address[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getBlockedSendersCount", "outputs": [ { "internalType": "uint64", "name": "", "type": "uint64" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint64", "name": "blockedSenderIdxStart", "type": "uint64" }, { "internalType": "uint64", "name": "blockedSenderIdxEnd", "type": "uint64" } ], "name": "getBlockedSendersInRange", "outputs": [ { "internalType": "address[]", "name": "blockedSenders", "type": "address[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "acceptor", "type": "address" }, { "internalType": "address", "name": "recipient", "type": "address" } ], "name": "getMessage", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" } ], "name": "isBlockedSender", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" } ], "name": "unblockSender", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]