UNPKG

@q-dev/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

146 lines 2.28 kB
[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "inputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "name": "exceptions", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "key", "type": "uint32" }, { "internalType": "string", "name": "note", "type": "string" } ], "name": "setException", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint32[]", "name": "keys", "type": "uint32[]" }, { "internalType": "string[]", "name": "notes", "type": "string[]" } ], "name": "setExceptions", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "key", "type": "uint32" } ], "name": "getException", "outputs": [ { "internalType": "string", "name": "note", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "key", "type": "uint32" } ], "name": "throwException", "outputs": [], "stateMutability": "view", "type": "function" } ]