UNPKG

@ardier16/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

79 lines 1.21 kB
[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "beneficiaries", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "shares", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "stateMutability": "payable", "type": "receive" }, { "inputs": [ { "internalType": "address", "name": "_registry", "type": "address" }, { "internalType": "string[]", "name": "_beneficiaries", "type": "string[]" }, { "internalType": "string[]", "name": "_shares", "type": "string[]" } ], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "allocate", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]