-
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 #402 from valory-xyz/feat/staking_program_marketplace
Mech marketplace integration and staking contract
- Loading branch information
Showing
37 changed files
with
1,013 additions
and
500 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,44 @@ | ||
export const REQUESTER_ACTIVITY_CHECKER_ABI = [ | ||
{ | ||
inputs: [ | ||
{ internalType: 'address', name: '_mechMarketplace', type: 'address' }, | ||
{ internalType: 'uint256', name: '_livenessRatio', type: 'uint256' }, | ||
], | ||
stateMutability: 'nonpayable', | ||
type: 'constructor', | ||
}, | ||
{ inputs: [], name: 'ZeroAddress', type: 'error' }, | ||
{ inputs: [], name: 'ZeroValue', type: 'error' }, | ||
{ | ||
inputs: [{ internalType: 'address', name: 'multisig', type: 'address' }], | ||
name: 'getMultisigNonces', | ||
outputs: [{ internalType: 'uint256[]', name: 'nonces', type: 'uint256[]' }], | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
inputs: [ | ||
{ internalType: 'uint256[]', name: 'curNonces', type: 'uint256[]' }, | ||
{ internalType: 'uint256[]', name: 'lastNonces', type: 'uint256[]' }, | ||
{ internalType: 'uint256', name: 'ts', type: 'uint256' }, | ||
], | ||
name: 'isRatioPass', | ||
outputs: [{ internalType: 'bool', name: 'ratioPass', type: 'bool' }], | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
inputs: [], | ||
name: 'livenessRatio', | ||
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
{ | ||
inputs: [], | ||
name: 'mechMarketplace', | ||
outputs: [{ internalType: 'address', name: '', type: 'address' }], | ||
stateMutability: 'view', | ||
type: 'function', | ||
}, | ||
]; |
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
Oops, something went wrong.