-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add new abis * fix: regenerate with new foundry * fix: add exports * fix: use pool address not name fix: update tokenlist fix: use proper type fix: use proper type fix: patch list
- Loading branch information
Showing
9 changed files
with
2,124 additions
and
423 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,190 @@ | ||
// AUTOGENERATED - MANUALLY CHANGES WILL BE REVERTED BY THE GENERATOR | ||
export const IStaticATokenFactory_ABI = [ | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: 'contract IPool', | ||
name: 'pool', | ||
type: 'address', | ||
components: [], | ||
}, | ||
{ | ||
internalType: 'address', | ||
name: 'proxyAdmin', | ||
type: 'address', | ||
components: [], | ||
}, | ||
{ | ||
internalType: 'contract ITransparentProxyFactory', | ||
name: 'transparentProxyFactory', | ||
type: 'address', | ||
components: [], | ||
}, | ||
{ | ||
internalType: 'address', | ||
name: 'staticATokenImpl', | ||
type: 'address', | ||
components: [], | ||
}, | ||
], | ||
stateMutability: 'nonpayable', | ||
type: 'constructor', | ||
outputs: [], | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: 'uint8', | ||
name: 'version', | ||
type: 'uint8', | ||
components: [], | ||
indexed: false, | ||
}, | ||
], | ||
type: 'event', | ||
name: 'Initialized', | ||
outputs: [], | ||
anonymous: false, | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: 'address', | ||
name: 'staticAToken', | ||
type: 'address', | ||
components: [], | ||
indexed: true, | ||
}, | ||
{ | ||
internalType: 'address', | ||
name: 'underlying', | ||
type: 'address', | ||
components: [], | ||
indexed: true, | ||
}, | ||
], | ||
type: 'event', | ||
name: 'StaticTokenCreated', | ||
outputs: [], | ||
anonymous: false, | ||
}, | ||
{ | ||
inputs: [], | ||
stateMutability: 'view', | ||
type: 'function', | ||
name: 'ADMIN', | ||
outputs: [ | ||
{ | ||
internalType: 'address', | ||
name: '', | ||
type: 'address', | ||
components: [], | ||
}, | ||
], | ||
}, | ||
{ | ||
inputs: [], | ||
stateMutability: 'view', | ||
type: 'function', | ||
name: 'POOL', | ||
outputs: [ | ||
{ | ||
internalType: 'contract IPool', | ||
name: '', | ||
type: 'address', | ||
components: [], | ||
}, | ||
], | ||
}, | ||
{ | ||
inputs: [], | ||
stateMutability: 'view', | ||
type: 'function', | ||
name: 'STATIC_A_TOKEN_IMPL', | ||
outputs: [ | ||
{ | ||
internalType: 'address', | ||
name: '', | ||
type: 'address', | ||
components: [], | ||
}, | ||
], | ||
}, | ||
{ | ||
inputs: [], | ||
stateMutability: 'view', | ||
type: 'function', | ||
name: 'TRANSPARENT_PROXY_FACTORY', | ||
outputs: [ | ||
{ | ||
internalType: 'contract ITransparentProxyFactory', | ||
name: '', | ||
type: 'address', | ||
components: [], | ||
}, | ||
], | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: 'address[]', | ||
name: 'underlyings', | ||
type: 'address[]', | ||
components: [], | ||
}, | ||
], | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
name: 'createStaticATokens', | ||
outputs: [ | ||
{ | ||
internalType: 'address[]', | ||
name: '', | ||
type: 'address[]', | ||
components: [], | ||
}, | ||
], | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: 'address', | ||
name: 'underlying', | ||
type: 'address', | ||
components: [], | ||
}, | ||
], | ||
stateMutability: 'view', | ||
type: 'function', | ||
name: 'getStaticAToken', | ||
outputs: [ | ||
{ | ||
internalType: 'address', | ||
name: '', | ||
type: 'address', | ||
components: [], | ||
}, | ||
], | ||
}, | ||
{ | ||
inputs: [], | ||
stateMutability: 'view', | ||
type: 'function', | ||
name: 'getStaticATokens', | ||
outputs: [ | ||
{ | ||
internalType: 'address[]', | ||
name: '', | ||
type: 'address[]', | ||
components: [], | ||
}, | ||
], | ||
}, | ||
{ | ||
inputs: [], | ||
stateMutability: 'nonpayable', | ||
type: 'function', | ||
name: 'initialize', | ||
outputs: [], | ||
}, | ||
] as const; |
Oops, something went wrong.