Skip to content

Commit

Permalink
feat: add delegation abis (#344)
Browse files Browse the repository at this point in the history
* feat: add delegation abis

* fix: add abi for delegation
  • Loading branch information
sakulstra authored Jan 30, 2024
1 parent 541f2ac commit a282f3b
Show file tree
Hide file tree
Showing 24 changed files with 7,612 additions and 3,663 deletions.
12 changes: 12 additions & 0 deletions scripts/configs/abis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,16 @@ export const DOWNLOAD_ABI_INTERFACES = [
address: '0x50f9d4e28309303f0cdcac8af0b569e8b75ab857',
name: 'IStakeToken',
},
{
address: '0x5D4Aa78B08Bc7C530e21bf7447988b1Be7991322',
name: 'IAaveToken',
},
{
address: '0x0fE58FE1CaA69951dC924A8c222bE19013B89476',
name: 'IStkAaveToken',
},
{
address: '0x366AE337897223AEa70e3EBe1862219386f20593',
name: 'IATokenWithDelegation',
},
];
130 changes: 65 additions & 65 deletions src/ts/abis/AggregatorInterface.ts
Original file line number Diff line number Diff line change
@@ -1,130 +1,130 @@
// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR
export const AggregatorInterface_ABI = [
{
anonymous: false,
type: 'function',
name: 'getAnswer',
inputs: [
{
indexed: true,
internalType: 'int256',
name: 'current',
type: 'int256',
},
{
indexed: true,
internalType: 'uint256',
name: 'roundId',
type: 'uint256',
internalType: 'uint256',
},
],
outputs: [
{
indexed: false,
internalType: 'uint256',
name: 'updatedAt',
type: 'uint256',
name: '',
type: 'int256',
internalType: 'int256',
},
],
name: 'AnswerUpdated',
type: 'event',
stateMutability: 'view',
},
{
anonymous: false,
type: 'function',
name: 'getTimestamp',
inputs: [
{
indexed: true,
internalType: 'uint256',
name: 'roundId',
type: 'uint256',
},
{
indexed: true,
internalType: 'address',
name: 'startedBy',
type: 'address',
},
{
indexed: false,
internalType: 'uint256',
name: 'startedAt',
type: 'uint256',
},
],
name: 'NewRound',
type: 'event',
},
{
inputs: [
outputs: [
{
internalType: 'uint256',
name: 'roundId',
name: '',
type: 'uint256',
internalType: 'uint256',
},
],
name: 'getAnswer',
stateMutability: 'view',
},
{
type: 'function',
name: 'latestAnswer',
inputs: [],
outputs: [
{
internalType: 'int256',
name: '',
type: 'int256',
internalType: 'int256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'uint256',
name: 'roundId',
type: 'uint256',
},
],
name: 'getTimestamp',
type: 'function',
name: 'latestRound',
inputs: [],
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
internalType: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
type: 'function',
name: 'latestTimestamp',
inputs: [],
name: 'latestAnswer',
outputs: [
{
internalType: 'int256',
name: '',
type: 'int256',
type: 'uint256',
internalType: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'latestRound',
outputs: [
type: 'event',
name: 'AnswerUpdated',
inputs: [
{
name: 'current',
type: 'int256',
indexed: true,
internalType: 'int256',
},
{
name: 'roundId',
type: 'uint256',
indexed: true,
internalType: 'uint256',
name: '',
},
{
name: 'updatedAt',
type: 'uint256',
indexed: false,
internalType: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
anonymous: false,
},
{
inputs: [],
name: 'latestTimestamp',
outputs: [
type: 'event',
name: 'NewRound',
inputs: [
{
name: 'roundId',
type: 'uint256',
indexed: true,
internalType: 'uint256',
name: '',
},
{
name: 'startedBy',
type: 'address',
indexed: true,
internalType: 'address',
},
{
name: 'startedAt',
type: 'uint256',
indexed: false,
internalType: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
anonymous: false,
},
] as const;
Loading

0 comments on commit a282f3b

Please sign in to comment.