@antefinance/ante-sdk
Version:
Library for interacting with Ante smart contracts
106 lines (105 loc) • 2.7 kB
TypeScript
import { ChainId, GateTypeEnum, Network, GrantPoolVersion, GiveawayPoolVersion, HashTreeIndexVersion, MetaPoolVersion, Version, IOUVersion, TaskPoolVersion, USD1Version, TestTokenVersion } from '../types';
export type IOUGateTypeEnum = 'minGrantV2Contribution' | 'minGrantV2Contribution2' | 'llama';
export type FactoryConfig = {
POOL_FACTORY: string;
};
export type DTSConfig = {
PROXY_ADDRESS: string;
};
export type AnteConfig = {
factory: {
[]?: {
[]?: FactoryConfig;
};
};
decentralizedTrustScore: {
[]?: DTSConfig;
};
metaPool: {
[]?: {
[]?: string;
};
};
grantPool: {
[]?: {
[]?: string;
};
};
taskPool: {
[]?: {
[]?: string;
};
};
giveawayPool: {
[]?: {
[]?: string;
};
};
hashTreeIndex: {
[]?: {
[]?: string;
};
};
gate: {
[]?: {
[]?: string;
};
};
iouFactory: {
[]?: {
[]?: string;
};
};
iouGate: {
[]?: {
[]?: string;
};
};
usd1: {
[]?: {
[]?: string;
};
};
testToken: {
[]?: {
[]?: string;
};
};
};
export declare const defaultConfig: AnteConfig;
export type AbiConfig = {
metaPool: {
[]?: readonly any[];
};
grantPool: {
[]?: readonly any[];
};
giveawayPool: {
[]?: readonly any[];
};
hashTreeIndex: {
[]?: readonly any[];
};
taskPool: {
[]?: readonly any[];
};
gate: {
[]?: readonly any[];
};
iou: {
[]?: readonly any[];
};
iouFactory: {
[]?: readonly any[];
};
iouGate: {
[]?: readonly any[];
};
usd1: {
[]?: readonly any[];
};
testToken: {
[]?: readonly any[];
};
};
export declare const abis: AbiConfig;