Skip to content

Commit

Permalink
update idl
Browse files Browse the repository at this point in the history
  • Loading branch information
kstepanovdev committed Jul 12, 2024
1 parent 7419fa5 commit 864e8e0
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions idl/voter_stake_registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1148,14 +1148,14 @@ export type VoterStakeRegistry = {
"name": "InitializePool",
"fields": [
{
"name": "fill_authority",
"name": "fillAuthority",
"docs": [
"Account can fill the reward vault"
],
"type": "publicKey"
},
{
"name": "distribution_authority",
"name": "distributionAuthority",
"docs": [
"Account can distribute rewards for stakers"
],
Expand All @@ -1174,7 +1174,7 @@ export type VoterStakeRegistry = {
"type": "u64"
},
{
"name": "distribution_ends_at",
"name": "distributionEndsAt",
"docs": [
"Rewards distribution ends at given date"
],
Expand All @@ -1186,7 +1186,7 @@ export type VoterStakeRegistry = {
"name": "InitializeMining",
"fields": [
{
"name": "mining_owner",
"name": "miningOwner",
"docs": [
"Represent the end-user, owner of the mining"
],
Expand All @@ -1205,7 +1205,7 @@ export type VoterStakeRegistry = {
"type": "u64"
},
{
"name": "lockup_period",
"name": "lockupPeriod",
"docs": [
"Lockup Period"
],
Expand Down Expand Up @@ -1248,7 +1248,7 @@ export type VoterStakeRegistry = {
"name": "ExtendStake",
"fields": [
{
"name": "old_lockup_period",
"name": "oldLockupPeriod",
"docs": [
"Lockup period before restaking. Actually it's only needed",
"for Flex to AnyPeriod edge case"
Expand All @@ -1258,7 +1258,7 @@ export type VoterStakeRegistry = {
}
},
{
"name": "new_lockup_period",
"name": "newLockupPeriod",
"docs": [
"Requested lockup period for restaking"
],
Expand All @@ -1267,14 +1267,14 @@ export type VoterStakeRegistry = {
}
},
{
"name": "deposit_start_ts",
"name": "depositStartTs",
"docs": [
"Deposit start_ts"
],
"type": "u64"
},
{
"name": "base_amount",
"name": "baseAmount",
"docs": [
"Amount of tokens to be restaked, this",
"number cannot be decreased. It reflects the number of staked tokens",
Expand All @@ -1283,15 +1283,15 @@ export type VoterStakeRegistry = {
"type": "u64"
},
{
"name": "additional_amount",
"name": "additionalAmount",
"docs": [
"In case user wants to increase it's staked number of tokens,",
"the addition amount might be provided"
],
"type": "u64"
},
{
"name": "mining_owner",
"name": "miningOwner",
"docs": [
"The wallet who owns the mining account"
],
Expand All @@ -1316,6 +1316,9 @@ export type VoterStakeRegistry = {
{
"name": "None"
},
{
"name": "Test"
},
{
"name": "Flex"
},
Expand All @@ -1327,9 +1330,6 @@ export type VoterStakeRegistry = {
},
{
"name": "OneYear"
},
{
"name": "Test"
}
]
}
Expand Down Expand Up @@ -2704,14 +2704,14 @@ export const IDL: VoterStakeRegistry = {
"name": "InitializePool",
"fields": [
{
"name": "fill_authority",
"name": "fillAuthority",
"docs": [
"Account can fill the reward vault"
],
"type": "publicKey"
},
{
"name": "distribution_authority",
"name": "distributionAuthority",
"docs": [
"Account can distribute rewards for stakers"
],
Expand All @@ -2730,7 +2730,7 @@ export const IDL: VoterStakeRegistry = {
"type": "u64"
},
{
"name": "distribution_ends_at",
"name": "distributionEndsAt",
"docs": [
"Rewards distribution ends at given date"
],
Expand All @@ -2742,7 +2742,7 @@ export const IDL: VoterStakeRegistry = {
"name": "InitializeMining",
"fields": [
{
"name": "mining_owner",
"name": "miningOwner",
"docs": [
"Represent the end-user, owner of the mining"
],
Expand All @@ -2761,7 +2761,7 @@ export const IDL: VoterStakeRegistry = {
"type": "u64"
},
{
"name": "lockup_period",
"name": "lockupPeriod",
"docs": [
"Lockup Period"
],
Expand Down Expand Up @@ -2804,7 +2804,7 @@ export const IDL: VoterStakeRegistry = {
"name": "ExtendStake",
"fields": [
{
"name": "old_lockup_period",
"name": "oldLockupPeriod",
"docs": [
"Lockup period before restaking. Actually it's only needed",
"for Flex to AnyPeriod edge case"
Expand All @@ -2814,7 +2814,7 @@ export const IDL: VoterStakeRegistry = {
}
},
{
"name": "new_lockup_period",
"name": "newLockupPeriod",
"docs": [
"Requested lockup period for restaking"
],
Expand All @@ -2823,14 +2823,14 @@ export const IDL: VoterStakeRegistry = {
}
},
{
"name": "deposit_start_ts",
"name": "depositStartTs",
"docs": [
"Deposit start_ts"
],
"type": "u64"
},
{
"name": "base_amount",
"name": "baseAmount",
"docs": [
"Amount of tokens to be restaked, this",
"number cannot be decreased. It reflects the number of staked tokens",
Expand All @@ -2839,15 +2839,15 @@ export const IDL: VoterStakeRegistry = {
"type": "u64"
},
{
"name": "additional_amount",
"name": "additionalAmount",
"docs": [
"In case user wants to increase it's staked number of tokens,",
"the addition amount might be provided"
],
"type": "u64"
},
{
"name": "mining_owner",
"name": "miningOwner",
"docs": [
"The wallet who owns the mining account"
],
Expand All @@ -2872,6 +2872,9 @@ export const IDL: VoterStakeRegistry = {
{
"name": "None"
},
{
"name": "Test"
},
{
"name": "Flex"
},
Expand All @@ -2883,9 +2886,6 @@ export const IDL: VoterStakeRegistry = {
},
{
"name": "OneYear"
},
{
"name": "Test"
}
]
}
Expand Down

0 comments on commit 864e8e0

Please sign in to comment.