@antefinance/ante-sdk
Version:
Library for interacting with Ante smart contracts
83 lines (82 loc) • 2.42 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.grantIOUMintGateAbi = void 0;
exports.grantIOUMintGateAbi = [
{
type: 'constructor',
inputs: [
{ name: 'anteIouAddress', type: 'address', internalType: 'address' },
{
name: 'anteGrantPoolAddress',
type: 'address',
internalType: 'address',
},
],
stateMutability: 'nonpayable',
},
{
type: 'function',
name: 'anteGrantPool',
inputs: [],
outputs: [
{ name: '', type: 'address', internalType: 'contract IAnteGrantPoolV2' },
],
stateMutability: 'view',
},
{
type: 'function',
name: 'anteIou',
inputs: [],
outputs: [{ name: '', type: 'address', internalType: 'contract IAnteIOU' }],
stateMutability: 'view',
},
{
type: 'function',
name: 'check',
inputs: [
{ name: 'iouId', type: 'uint256', internalType: 'uint256' },
{ name: 'user', type: 'address', internalType: 'address' },
{ name: 'amount', type: 'uint256', internalType: 'uint256' },
],
outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
stateMutability: 'view',
},
{
type: 'function',
name: 'configure',
inputs: [
{ name: 'iouId', type: 'uint256', internalType: 'uint256' },
{ name: 'data', type: 'bytes', internalType: 'bytes' },
],
outputs: [],
stateMutability: 'nonpayable',
},
{
type: 'function',
name: 'gateDetails',
inputs: [{ name: 'iouId', type: 'uint256', internalType: 'uint256' }],
outputs: [
{ name: 'grantId', type: 'uint256', internalType: 'uint256' },
{
name: 'minContributionPerClaim',
type: 'uint256',
internalType: 'uint256',
},
],
stateMutability: 'view',
},
{
type: 'event',
name: 'ConfigUpdated',
inputs: [
{
name: 'iouId',
type: 'uint256',
indexed: false,
internalType: 'uint256',
},
],
anonymous: false,
},
{ type: 'error', name: 'NotAuthorized', inputs: [] },
];