Staking Pool
Last updated
Last updated
Users can pledge funds in a contract to be used as proof of subscription.
Parameters:
name | type | description |
---|---|---|
Users can withdraw their funds in full at any time before the end of the collection cycle.
Query the valid subscription information of the user's current turn
Parameters:
Users of historical batches can sell their RWA shares to those who want to buy them at the moment by using this function, which can be executed if there are enough funds for the current round of subscriptions and they have not been withdrawn.
Parameters:
Set the exchange ratio of swap, 10000 is 100%, only administrator can set it.
Parameters:
Calling this function extracts the issueToken from the contract and can only be called by administrators.
name | type | description |
---|---|---|
name | type | description |
---|---|---|
name | type | description |
---|---|---|
name | type | description |
---|---|---|
amount
uint256
Number of tokens applied for
user
address
User address for subscription
issueAmount
uint
Number of tokens spent by the user to subscribe for tokens
issueTime
uint
Time for users to subscribe
isStaking
bool
Whether or not the funds were raised
amount
uint
Number of RWA assets to be converted
_rate
uint
Trading rate,10000 = 100%
issueToken
address
Token used for user subscription
redeemToekn
address
RWA tokens available to users
issues
Issues
Requisition Record
pendingLiquidation
uint
Number of subscription tokens to be cleared
rate
uint
swap exchange rate,10000==100%