🌅
Sunrise / Gluon Docs
  • Home
    • 👋Sunrise
  • 📜Learn
    • 🌆Sunrise
      • Proof of Liquidity
      • Fee Abstraction
      • Data Availability
      • Gauges Voting
      • Liquidity Pool
      • Liquidity Incentive
      • Swap
      • TokenConverter
      • Fee
      • Lockup Account
      • Bribes
    • 💴$RISE
      • Allocations
    • 🏦Gluon
    • 💴$GLU
    • 🎓Thesis
      • App chain thesis
      • Interoperability
  • 🛠️Build
    • 🚀Quick Start
    • Client
    • L2 Blockchains
      • Rollkit
        • Sunrise Data
        • Rollkit L2 Chain
      • OP Stack
        • Sunrise Data
        • OP Stack L2 Chain
    • Validators
      • Proof of Data Availability
      • Self Delegation
  • 🏗️Run a Sunrise Node
    • Networks
    • Types of Nodes
      • Consensus
        • Full Consensus Node
        • Validator Node (Genesis)
        • Validator Node
        • Setup Cosmovisor
      • IBC Relayers
    • Resources
      • Upgrade
      • Environment
  • 🏗️Run a Gluon Node
    • Networks
    • Node
      • Validator Node
  • 🔗Links
    • GitHub
    • Discord
    • X (Twitter)
    • Medium
    • dev.to
  • 📓Deprecated (UnUniFi)
    • IBC Channels
    • Security
    • CosmWasm
      • Tutorial
      • Create Project
    • IYA Strategy
      • Interface
      • External CosmWasm chain with IBCHooks
      • External EVM chain with Axelar
    • Frontend
      • Cosmos Client TS
    • Resources
    • Setup ununifid
    • ununifid
      • Basic Commands
      • Module Commands
        • wasm
    • Build a Node
    • Build a Validator Node
    • Setup Cosmovisor
    • Mainnet Upgrades
    • IBC Relayer
Powered by GitBook
On this page
  • Lockup Account Types
  • Self Delegatable Lockup Account
  • Excute Tx
  • Query
  1. Learn
  2. Sunrise

Lockup Account

PreviousFeeNextBribes

Last updated 7 days ago

In Sunrise mainnet, Airdrops and other funds granted by Genesis are locked for a certain period of time. This will be unlocked gradually over time and can be sent to other accounts.

Lockup Account Types

In Sunrise, the following lock-up accounts are exist

  1. permanent-locking-account

  • ContinuousLocking: A lockup account implementation that vests coins linearly over time.

  • DelayedLocking: A lockup account implementation that only fully vests all coins at a given time.

  • PeriodicLocking: A lockup account implementation that vests coins according to a custom lockup schedule.

  • PermanentLocking: It does not ever release coins, locking them indefinitely. Coins in this account can still be used for delegating and for governance votes even while locked.

Basically, continuous-locking-account is used. The lock funds is gradually unlocked over time.

Self Delegatable Lockup Account

In Sunrise, seld-delegatable is prefixed, as in seld-delegatable-continuous-locking-account. This means that self-delegating, a feature for validators, is available. See for more details.

Excute Tx

The following Txs are supported with lockup accounts

  1. MsgSend

MsgSend can move unlocked funds to other accounts.

On CLI, use

sunrised tx accounts execute [lockup-account-address] sunrise.accounts.self_delegatable_lockup.v1.MsgSend "{\"sender\":<owner-account-address>,\"to_address\":<recipient-account-address>,\"amount\":[{\"amount\":\"4000\", \"denom\":\"urise\"}]}" [flags]

Query

Use x/selfdelegation query and find your lockup accounts.

sunrised q selfdelegation lockup-accounts-by-owner [your-address]

The following queries are supported with lockup accounts

  1. QueryLockupAccountInfoRequest

  2. QuerySpendableAmountRequest

Sunrise App & Risescan supports to display these info. On CLI, use

sunrised query accounts query [lockup-account-address] [query-request-type-url] [json-message] [flags]

You can see the status of your lockup account by searching your account in . If you want to retrieve your lockup balance, go to and send this tx.

📜
🌆
continuous-locking-account
delayed-locking-account
periodic-locking-account
Self Delegation
Risescan
Sunrise App