diff --git a/idl/voter_stake_registry.ts b/idl/voter_stake_registry.ts index c1fee068..e0111ef0 100644 --- a/idl/voter_stake_registry.ts +++ b/idl/voter_stake_registry.ts @@ -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" ], @@ -1174,7 +1174,7 @@ export type VoterStakeRegistry = { "type": "u64" }, { - "name": "distribution_ends_at", + "name": "distributionEndsAt", "docs": [ "Rewards distribution ends at given date" ], @@ -1186,7 +1186,7 @@ export type VoterStakeRegistry = { "name": "InitializeMining", "fields": [ { - "name": "mining_owner", + "name": "miningOwner", "docs": [ "Represent the end-user, owner of the mining" ], @@ -1205,7 +1205,7 @@ export type VoterStakeRegistry = { "type": "u64" }, { - "name": "lockup_period", + "name": "lockupPeriod", "docs": [ "Lockup Period" ], @@ -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" @@ -1258,7 +1258,7 @@ export type VoterStakeRegistry = { } }, { - "name": "new_lockup_period", + "name": "newLockupPeriod", "docs": [ "Requested lockup period for restaking" ], @@ -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", @@ -1283,7 +1283,7 @@ 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" @@ -1291,7 +1291,7 @@ export type VoterStakeRegistry = { "type": "u64" }, { - "name": "mining_owner", + "name": "miningOwner", "docs": [ "The wallet who owns the mining account" ], @@ -1316,6 +1316,9 @@ export type VoterStakeRegistry = { { "name": "None" }, + { + "name": "Test" + }, { "name": "Flex" }, @@ -1327,9 +1330,6 @@ export type VoterStakeRegistry = { }, { "name": "OneYear" - }, - { - "name": "Test" } ] } @@ -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" ], @@ -2730,7 +2730,7 @@ export const IDL: VoterStakeRegistry = { "type": "u64" }, { - "name": "distribution_ends_at", + "name": "distributionEndsAt", "docs": [ "Rewards distribution ends at given date" ], @@ -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" ], @@ -2761,7 +2761,7 @@ export const IDL: VoterStakeRegistry = { "type": "u64" }, { - "name": "lockup_period", + "name": "lockupPeriod", "docs": [ "Lockup Period" ], @@ -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" @@ -2814,7 +2814,7 @@ export const IDL: VoterStakeRegistry = { } }, { - "name": "new_lockup_period", + "name": "newLockupPeriod", "docs": [ "Requested lockup period for restaking" ], @@ -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", @@ -2839,7 +2839,7 @@ 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" @@ -2847,7 +2847,7 @@ export const IDL: VoterStakeRegistry = { "type": "u64" }, { - "name": "mining_owner", + "name": "miningOwner", "docs": [ "The wallet who owns the mining account" ], @@ -2872,6 +2872,9 @@ export const IDL: VoterStakeRegistry = { { "name": "None" }, + { + "name": "Test" + }, { "name": "Flex" }, @@ -2883,9 +2886,6 @@ export const IDL: VoterStakeRegistry = { }, { "name": "OneYear" - }, - { - "name": "Test" } ] }