Reward
Last updated
Last updated
The Reward contract contains the logic for distributing Sei delegation rewards to holders of stSei. After the Hub contract withdraws Sei delegation rewards to the Reward contract, the Hub contract can request all rewards to be redelegated, which then updates the stSei vs Sei exchange rate.
Key | Type | Description |
---|---|---|
Claims bSei holder's accrued rewards to the specified address. Sends rewards to the message sender if the recipient
is not specified.
* = optional
* = optional
Transfer ownership permissions to a new owner address.
The new owner accepts ownership permissions.
Swaps all withdrawn delegation rewards to reward_denom
. Can only be issued by the Hub
Updates the global reward index based on the newly withdrawn rewards. Can only be issued by the Rewards Dispatcher
Increases stored user's bSei balance. Stores the user's accrued rewards to pending rewards and updates user's reward index to the current global reward index. Can only be issued by the Token
.
Decreases stored user's bSei balance. Stores the user's accrued rewards to pending rewards and updates user's reward index to the current global reward index. Can only be issued by the Token
.
Add or remove Native token denomination types supported by the Swap Extension.
Gets the contract configuration of Reward
.
Gets information about the contract's current state.
Gets the amount of rewards accrued to the specified bSei holder.
Gets information about the specified bSei holder.
Gets information about all bSei holders.
* = optional
Query the address of the new owner.
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Desciption |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
owner
CanonicalAddr
The owner's address of the contract
hub_contract
CanonicalAddr
Contract address of Hub
reward_denom
String
Native token denomination for distributed bSei rewards
swap_contract
CanonicalAddr
Contract address of Swap Extension
swap_denoms
Vec<String>
The supported swap denoms type is configured as "usei"
hub_contract
String
Contract address of Hub
reward_denom
String
Native token denomination for distributed bSei rewards
swap_contract
String
Contract address of Swap Extension
swap_denoms
Vec<String>
The supported swap denoms type is configured as "usei"
recipient*
String
Recipient address of claimed bSei rewards
hub_contract*
String
Contract address of Hub
reward_denom*
String
Native token denomination for distributed bSei rewards
swap_contract*
String
Contract address of Swap Extension
new_owner_addr
String
The address of new owner
address
String
Address of user whose balance has increased
amount
Uint128
Amount of bINJ balance increased
address
String
Address of user whose balance has decreased
amount
Uint128
Amount of bINJ balance decreased
swap_denom
String
Add or remove Native token denomination types
is_add
bool
"true" represents "add", and "false" represents "remove"
hub_contract
String
Contract address of Hub
reward_denom
String
Native token denomination for distributed bSei rewards
owner
String
The owner's address of the contract
swap_contract
String
The supported swap denoms type is configured as "usei"
global_index
Decimal
Current global reward index of bSei
total_balance
Uint128
Total bSei balance of all holders
prev_reward_balance
Uint128
kUSD balance of Reward contract at the end of last UpdateGlobalIndex
address
String
Address of bSei holder
rewards
Uint128
Amount of reward_denom
rewards accrued
address
String
Address of bSei holder
address
String
Address of bSei holder
balance
Uint128
bSei balance of holder
index
Decimal
Holder's reward index value
pending_rewards
Decimal
Amount of holder's pending rewards
start_after*
String
Address of bSei holder to start query
limit*
u32
Maximum number of query entries
holders
Vec<HolderResponse>
Vector of holder informations
address
String
Address of bSei holder
balance
Uint128
bSei balance of holder
index
Decimal
Holder's reward index value
pending_rewards
Decimal
Amount of holder's pending rewards
new_owner
String
The address of new owner