🌅
Sunrise日本語
  • Home
    • 👋Sunrise
  • 📜Learn
    • 🌆Sunrise
      • Proof of Liquidity
      • DA Fee Abstraction
      • Data Availability
      • Gauges Voting
      • Liquidity Pool
      • Liquidity Incentive
      • Swap
      • TokenConverter
      • Fee
      • Lockup Account
    • 💴$RISE
      • Allocations
    • 🏦Gluon
    • 💴$GLU
    • 🎓Thesis
      • App chain thesis
      • Interoperability
  • 🛠️Build
    • 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
GitBook提供
このページ内
  • x/selfdelegation Msg
  • セルフデリゲーションプロキシアカウント
  • クエリ
  • Msg実行
  • デリゲート可能なロックアップアカウント
  • Tx実行
  1. Build
  2. Validators

Self Delegation

バリデータは、自身に$RISEをステーキングすることで議決権(Voting Power)を増やすことができます。この機能は、MsgCreateValidatorなどでバリデータとして登録されたアドレスのみが利用できます。

x/selfdelegation Msg

  1. MsgSelfDelegate

  2. MsgWithdrawSelfDelegationUnbonded

  • MsgSelfDelegate セルフデリゲーションプロキシアカウントが存在しない場合、作成します。$RISEはプロキシアカウントに送信され、デリゲーションが開始されます。

sunrised tx selfdelegation self-delegate [amount] [flags]
  • MsgWithdrawSelfDelegationUnbonded Undelegateの後、一定期間が経過し、Unbondedの状態になったとき、引き出しを行うことができます。$RISEはあなたのアカウントの残高に返金されます。 Undelegateは、以下に説明するプロキシアカウントのTxで実行できます。

sunrised tx selfdelegation withdraw-self-delegation-unbonded [amount] [flags]

セルフデリゲーションプロキシアカウント

$RISEのセルフデリゲーションは、セルフデリゲーションプロキシアカウントを通じて処理されます。

セルフデリゲーションが行われると、$RISEはプロキシアカウントに移動します。プロキシアカウントは$RISEを$vRISEに変換し、あなたのデリゲータとして機能します。

クエリ

x/selfdelegationクエリを使用して、プロキシアカウントを見つけます。

sunrised q selfdelegation self-delegation-proxy-account-by-owner [your-address]

Msg実行

  1. MsgUndelegate

  2. MsgWithdrawReward

  3. MsgSend

CLIでは、以下を使用します

sunrised tx accounts execute [proxy-account-address] [execute-msg-type-url] [json-message] [flags]
  • MsgUndelegate プロキシアカウントからのデリゲーションがキャンセルされます。一定期間後、x/selfdelegationのMsgWithdrawSelfDelegationUnbondedによって引き出し可能になります。

  • MsgWithdrawReward デリゲーション報酬を引き出します。引き出された報酬はMsgSendを通じて他のアカウントに送信できます。

  • MsgSend 利用可能な資金を他のアカウントに送信します。

sunrise.accounts.self_delegation_proxy.v1.MsgUndelegate

sunrised tx accounts execute sunrise1jpaxtum2vckspj6nqe0pjkk7pxel0avuyz8dehpe87qxk5w0yc5s4qtzul sunrise.accounts.self_delegation_proxy.v1.MsgUndelegate "{\"amount\":\"4000\"}"
message MsgUndelegate {
  option (cosmos.msg.v1.signer) = "sender";
  string sender = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
  // Amount of bond denom
  string amount = 2 [
    (cosmos_proto.scalar) = "cosmos.Int",
    (gogoproto.customtype) = "cosmossdk.io/math.Int",
    (gogoproto.nullable) = false
  ];
}

sunrise.accounts.self_delegation_proxy.v1.MsgWithdrawReward

message MsgWithdrawReward {
  option (cosmos.msg.v1.signer) = "sender";

  string sender = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
  string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.ValidatorAddressString"];
}

sunrise.accounts.self_delegation_proxy.v1.MsgSend

message MsgSend {
  option (cosmos.msg.v1.signer) = "sender";

  string sender = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
  string to_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"];
  repeated cosmos.base.v1beta1.Coin amount = 3 [
    (gogoproto.nullable) = false,
    (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"
  ];
}

デリゲート可能なロックアップアカウント

セルフデリゲータブルロックアップアカウントにより、バリデータはセルフデリゲーションを行うことができます。

Tx実行

セルフデリゲータブルロックアップアカウントでは以下のTxがサポートされています

  1. MsgSelfDelegate

  2. MsgWithdrawSelfDelegationUnbonded

CLIでは、以下を使用します

sunrised tx accounts execute [account-address] [execute-msg-type-url] [json-message] [flags]

sunrise.accounts.self_delegatable_lockup.v1.MsgSelfDelegate

sunrised tx accounts execute sunrise1jpaxtum2vckspj6nqe0pjkk7pxel0avuyz8dehpe87qxk5w0yc5s4qtzul sunrise.accounts.self_delegatable_lockup.v1.MsgSelfDelegate "{\"amount\":\"4000\"}"
message MsgSelfDelegate {
  string sender = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
  // Amount of fee denom
  string amount = 2 [
    (cosmos_proto.scalar) = "cosmos.Int",
    (gogoproto.customtype) = "cosmossdk.io/math.Int",
    (gogoproto.nullable) = false
  ];
}

sunrise.accounts.self_delegatable_lockup.v1.MsgWithdrawSelfDelegationUnbonded

message MsgWithdrawSelfDelegationUnbonded {
  string sender = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
  // Amount of bond denom
  string amount = 2 [
    (cosmos_proto.scalar) = "cosmos.Int",
    (gogoproto.customtype) = "cosmossdk.io/math.Int",
    (gogoproto.nullable) = false
  ];
}
前へProof of Data Availability次へNetworks

最終更新 1 か月前

Sunrise メインネットでは、エアドロップやジェネシスで付与された他の資金は、ロックアップアカウントとして一定期間ロックされます。 詳細については、を参照してください。

🛠️
ロックアップアカウント