@makerdao/dai
Version:
Library for interacting with the Dai Stablecoin System.
583 lines (582 loc) • 16.1 kB
TypeScript
declare const _default: {
daiV1: {
tub: ({
constant: boolean;
inputs: {
name: string;
type: string;
}[];
name: string;
outputs: {
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
anonymous?: undefined;
} | {
inputs: {
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
constant?: undefined;
name?: undefined;
outputs?: undefined;
anonymous?: undefined;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
name: string;
type: string;
}[];
name: string;
type: string;
constant?: undefined;
outputs?: undefined;
payable?: undefined;
stateMutability?: undefined;
})[];
};
dappHub: {
dsValue: ({
constant: boolean;
inputs: {
name: string;
type: string;
}[];
name: string;
outputs: any[];
payable: boolean;
stateMutability: string;
type: string;
anonymous?: undefined;
} | {
constant: boolean;
inputs: any[];
name: string;
outputs: {
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
anonymous?: undefined;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
name: string;
type: string;
}[];
name: string;
type: string;
constant?: undefined;
outputs?: undefined;
payable?: undefined;
stateMutability?: undefined;
})[];
dsEthToken: ({
constant: boolean;
inputs: {
name: string;
type: string;
}[];
name: string;
outputs: {
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
anonymous?: undefined;
} | {
payable: boolean;
stateMutability: string;
type: string;
constant?: undefined;
inputs?: undefined;
name?: undefined;
outputs?: undefined;
anonymous?: undefined;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
name: string;
type: string;
}[];
name: string;
type: string;
constant?: undefined;
outputs?: undefined;
payable?: undefined;
stateMutability?: undefined;
})[];
dsGuard: ({
constant: boolean;
inputs: {
name: string;
type: string;
}[];
name: string;
outputs: {
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
anonymous?: undefined;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
name: string;
type: string;
}[];
name: string;
type: string;
constant?: undefined;
outputs?: undefined;
payable?: undefined;
stateMutability?: undefined;
})[];
dsChief: ({
constant: boolean;
inputs: {
name: string;
type: string;
}[];
name: string;
outputs: {
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
anonymous?: undefined;
} | {
inputs: {
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
constant?: undefined;
name?: undefined;
outputs?: undefined;
anonymous?: undefined;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
name: string;
type: string;
}[];
name: string;
type: string;
constant?: undefined;
outputs?: undefined;
payable?: undefined;
stateMutability?: undefined;
})[];
dsSpell: ({
constant: boolean;
inputs: any[];
name: string;
outputs: {
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
anonymous?: undefined;
} | {
inputs: {
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
constant?: undefined;
name?: undefined;
outputs?: undefined;
anonymous?: undefined;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
name: string;
type: string;
}[];
name: string;
type: string;
constant?: undefined;
outputs?: undefined;
payable?: undefined;
stateMutability?: undefined;
})[];
dsSpellBook: {
constant: boolean;
inputs: {
name: string;
type: string;
}[];
name: string;
outputs: {
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
}[];
dsProxy: ({
constant: boolean;
inputs: {
name: string;
type: string;
}[];
name: string;
outputs: {
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
anonymous?: undefined;
} | {
inputs: {
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
constant?: undefined;
name?: undefined;
outputs?: undefined;
anonymous?: undefined;
} | {
payable: boolean;
stateMutability: string;
type: string;
constant?: undefined;
inputs?: undefined;
name?: undefined;
outputs?: undefined;
anonymous?: undefined;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
name: string;
type: string;
}[];
name: string;
type: string;
constant?: undefined;
outputs?: undefined;
payable?: undefined;
stateMutability?: undefined;
})[];
};
exchangesV1: {
makerOtc: ({
inputs: {
internalType: string;
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
anonymous?: undefined;
name?: undefined;
constant?: undefined;
outputs?: undefined;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
type: string;
payable?: undefined;
stateMutability?: undefined;
constant?: undefined;
outputs?: undefined;
} | {
constant: boolean;
inputs: {
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
anonymous?: undefined;
})[];
};
general: {
erc20: ({
constant: boolean;
inputs: {
name: string;
type: string;
}[];
name: string;
outputs: {
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
anonymous?: undefined;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
name: string;
type: string;
}[];
name: string;
type: string;
constant?: undefined;
outputs?: undefined;
payable?: undefined;
stateMutability?: undefined;
})[];
};
proxies: {
oasisProxy: ({
constant: boolean;
inputs: {
name: string;
type: string;
}[];
name: string;
outputs: {
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
} | {
inputs: {
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
constant?: undefined;
name?: undefined;
outputs?: undefined;
} | {
payable: boolean;
stateMutability: string;
type: string;
constant?: undefined;
inputs?: undefined;
name?: undefined;
outputs?: undefined;
})[];
saiProxy: {
constant: boolean;
inputs: {
name: string;
type: string;
}[];
name: string;
outputs: {
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
}[];
dsProxyFactory: ({
constant: boolean;
inputs: {
name: string;
type: string;
}[];
name: string;
outputs: {
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
anonymous?: undefined;
} | {
inputs: any[];
payable: boolean;
stateMutability: string;
type: string;
constant?: undefined;
name?: undefined;
outputs?: undefined;
anonymous?: undefined;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
name: string;
type: string;
}[];
name: string;
type: string;
constant?: undefined;
outputs?: undefined;
payable?: undefined;
stateMutability?: undefined;
})[];
proxyRegistry: ({
constant: boolean;
inputs: {
name: string;
type: string;
}[];
name: string;
outputs: {
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
} | {
inputs: {
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
constant?: undefined;
name?: undefined;
outputs?: undefined;
})[];
};
multicall: ({
constant: boolean;
inputs: {
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
} | {
constant: boolean;
inputs: {
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
})[];
cageFree: ({
inputs: {
internalType: string;
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
anonymous?: undefined;
name?: undefined;
constant?: undefined;
outputs?: undefined;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
type: string;
payable?: undefined;
stateMutability?: undefined;
constant?: undefined;
outputs?: undefined;
} | {
payable: boolean;
stateMutability: string;
type: string;
inputs?: undefined;
anonymous?: undefined;
name?: undefined;
constant?: undefined;
outputs?: undefined;
} | {
constant: boolean;
inputs: {
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
payable: boolean;
stateMutability: string;
type: string;
anonymous?: undefined;
})[];
};
export default _default;