UNPKG

@smartinvoicexyz/constants

Version:

Unified source for configs and constants used across the Smart Invoice protocol.

115 lines (114 loc) 2.64 kB
export const SMART_INVOICE_SPLIT_ESCROW_ABI = [ { inputs: [ { internalType: 'address', name: '_recipient', type: 'address', }, { internalType: 'uint256[]', name: '_amounts', type: 'uint256[]', }, { internalType: 'bytes', name: '_data', type: 'bytes', }, ], name: 'init', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'bytes32', name: '_details', type: 'bytes32', }, ], name: 'lock', outputs: [], stateMutability: 'payable', type: 'function', }, { inputs: [ { internalType: 'uint256', name: '_milestone', type: 'uint256', }, ], name: 'release', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [], name: 'release', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'address', name: '_token', type: 'address', }, ], name: 'releaseTokens', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'uint256', name: '_clientAward', type: 'uint256', }, { internalType: 'uint256', name: '_providerAward', type: 'uint256', }, { internalType: 'bytes32', name: '_details', type: 'bytes32', }, ], name: 'resolve', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [], name: 'withdraw', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'address', name: '_token', type: 'address', }, ], name: 'withdrawTokens', outputs: [], stateMutability: 'nonpayable', type: 'function', }, ];