-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from subsquid/develop
release
- Loading branch information
Showing
55 changed files
with
1,119 additions
and
582 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,26 @@ | ||
export const SOFT_CAP_ABI = [ | ||
{ | ||
type: 'function', | ||
name: 'cap', | ||
inputs: [{ name: 'x', type: 'uint256', internalType: 'UD60x18' }], | ||
outputs: [{ name: '', type: 'uint256', internalType: 'UD60x18' }], | ||
stateMutability: 'pure', | ||
}, | ||
{ | ||
type: 'function', | ||
name: 'capedStake', | ||
inputs: [{ name: 'workerId', type: 'uint256', internalType: 'uint256' }], | ||
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }], | ||
stateMutability: 'view', | ||
}, | ||
{ | ||
type: 'function', | ||
name: 'capedStakeAfterDelegation', | ||
inputs: [ | ||
{ name: 'workerId', type: 'uint256', internalType: 'uint256' }, | ||
{ name: 'delegationAmount', type: 'int256', internalType: 'int256' }, | ||
], | ||
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }], | ||
stateMutability: 'view', | ||
}, | ||
] as const; |
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
Oops, something went wrong.