Skip to content

Commit

Permalink
client-sdk: Add missing pending-withdrawal and pending-delegations
Browse files Browse the repository at this point in the history
  • Loading branch information
matevz committed Sep 22, 2023
1 parent f1bd38f commit 0f0f7d4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions client-sdk/go/modules/consensusaccounts/consensus_accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ import (
"github.com/oasisprotocol/oasis-sdk/client-sdk/go/types"
)

var (
// PendingWithdrawalAddress is the address of the internal pending withdrawal account in the consensus_accounts module.
PendingWithdrawalAddress = types.NewAddressForModule("consensus_accounts", []byte("pending-withdrawal"))
// PendingDelegationAddress is the address of the internal pending delegation account in the consensus_accounts module.
PendingDelegationAddress = types.NewAddressForModule("consensus_accounts", []byte("pending-delegation"))
)

var (
// Callable methods.
methodDeposit = types.NewMethodName("consensus.Deposit", Deposit{})
Expand Down

0 comments on commit 0f0f7d4

Please sign in to comment.