Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) ApplyOperation(ctx sdk.Context, op types.Operation, confirmationId string) error
- func (k Keeper) ApproveOperation(ctx sdk.Context, op types.Operation) error
- func (k Keeper) ApproveOperationDefault(ctx sdk.Context, op types.Operation)
- func (k Keeper) ApproveTransferOperation(ctx sdk.Context, transfer *types.Transfer) error
- func (k Keeper) Confirmation(c context.Context, req *types.QueryGetConfirmationRequest) (*types.QueryGetConfirmationResponse, error)
- func (k Keeper) ConfirmationAll(c context.Context, req *types.QueryAllConfirmationRequest) (*types.QueryAllConfirmationResponse, error)
- func (k Keeper) CreateAddFeeTokenOperation(ctx sdk.Context, token tokentypes.FeeToken, chain string, nonce string) error
- func (k Keeper) CreateChangePartiesOperation(ctx sdk.Context, creator string, change *types.ChangeParties) error
- func (k Keeper) CreateContractUpgradeOperation(ctx sdk.Context, upgradeDetails *tokenmanagertypes.ContractUpgradeDetails) error
- func (k Keeper) CreateFeeTokenManagementOperation(ctx sdk.Context, op *types.FeeTokenManagement) error
- func (k Keeper) CreateIdentityAggregatedTransferOperation(ctx sdk.Context, creator string, transfer *types.IdentityAggregatedTransfer) (string, error)
- func (k Keeper) CreateIdentityDefaultTransferOperation(ctx sdk.Context, creator string, transfer *types.IdentityDefaultTransfer) error
- func (k Keeper) CreateRemoveFeeTokenOperation(ctx sdk.Context, token tokentypes.FeeToken, chain string, nonce string) error
- func (k Keeper) CreateTransferOperation(ctx sdk.Context, creator string, transfer *types.Transfer, approved bool) error
- func (k Keeper) CreateUpdateFeeTokenOperation(ctx sdk.Context, token tokentypes.FeeToken, chain string, nonce string) error
- func (k Keeper) CreateVote(ctx sdk.Context, vote types.Vote) (bool, error)
- func (k Keeper) CreateWithdrawFeeOperation(ctx sdk.Context, token tokentypes.FeeToken, chain string, receiver string, ...) error
- func (k Keeper) DropPartiesProposal(ctx sdk.Context, _ *types.DropPartiesProposal) error
- func (k Keeper) EndBlocker(ctx sdk.Context)
- func (k Keeper) GetAllConfirmation(ctx sdk.Context) (list []types.Confirmation)
- func (k Keeper) GetAllOperation(ctx sdk.Context) (list []types.Operation)
- func (k Keeper) GetAllViolationReport(ctx sdk.Context) (list []types.ViolationReport)
- func (k Keeper) GetAllVote(ctx sdk.Context) (list []types.Vote)
- func (k Keeper) GetConfirmation(ctx sdk.Context, root string) (val types.Confirmation, found bool)
- func (k Keeper) GetIdentityDefaultTransfer(_ sdk.Context, msg *oracletypes.MsgCreateIdentityDefaultTransferOp) (*types.IdentityDefaultTransfer, error)
- func (k Keeper) GetKeyECDSA(ctx sdk.Context) string
- func (k Keeper) GetOperation(ctx sdk.Context, index string) (val types.Operation, found bool)
- func (k Keeper) GetOperationConfirmationId(ctx sdk.Context, op string) (string, bool)
- func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) GetTransfer(ctx sdk.Context, msg *oracletypes.MsgCreateTransferOp) (*types.Transfer, error)
- func (k Keeper) GetViolationReport(ctx sdk.Context, index *types.ViolationReportIndex) (val types.ViolationReport, found bool)
- func (k Keeper) GetVote(ctx sdk.Context, index *types.VoteIndex) (val types.Vote, found bool)
- func (k Keeper) IterateViolationReports(ctx sdk.Context, sessionId, offender string, ...)
- func (k Keeper) IterateVotes(ctx sdk.Context, operation string, f func(vote types.Vote) (stop bool))
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Operation(c context.Context, req *types.QueryGetOperationRequest) (*types.QueryGetOperationResponse, error)
- func (k Keeper) OperationAll(c context.Context, req *types.QueryAllOperationRequest) (*types.QueryAllOperationResponse, error)
- func (k Keeper) OperationProof(c context.Context, req *types.QueryGetOperationProofRequest) (*types.QueryGetOperationProofResponse, error)
- func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) RemoveConfirmation(ctx sdk.Context, height string)
- func (k Keeper) RemoveOperation(ctx sdk.Context, index string)
- func (k Keeper) RemoveOperationConfirmationId(ctx sdk.Context, op string)
- func (k Keeper) RemoveViolationReport(ctx sdk.Context, index *types.ViolationReportIndex)
- func (k Keeper) RemoveVote(ctx sdk.Context, index *types.VoteIndex)
- func (k Keeper) ReshareKeysProposal(ctx sdk.Context, _ *types.ReshareKeysProposal) error
- func (k Keeper) SetConfirmation(ctx sdk.Context, confirmation types.Confirmation)
- func (k Keeper) SetOperation(ctx sdk.Context, op types.Operation)
- func (k Keeper) SetOperationConfirmationId(ctx sdk.Context, op, conf string)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetViolationReport(ctx sdk.Context, v types.ViolationReport)
- func (k Keeper) SetVote(ctx sdk.Context, v types.Vote)
- func (k Keeper) SlashProposal(ctx sdk.Context, proposal *types.SlashProposal) error
- func (k Keeper) UnapproveOperation(ctx sdk.Context, op types.Operation) error
- func (k Keeper) UnfreezeSignerPartyProposal(ctx sdk.Context, proposal *types.UnfreezeSignerPartyProposal) error
- func (k Keeper) UpdateLastSignature(ctx sdk.Context, sig string)
- func (k Keeper) ViolationReport(c context.Context, req *types.QueryGetViolationReportRequest) (*types.QueryGetViolationReportResponse, error)
- func (k Keeper) ViolationReportAll(c context.Context, req *types.QueryAllViolationReportRequest) (*types.QueryAllViolationReportResponse, error)
- func (k Keeper) Vote(c context.Context, req *types.QueryGetVoteRequest) (*types.QueryGetVoteResponse, error)
- func (k Keeper) VoteAll(c context.Context, req *types.QueryAllVoteRequest) (*types.QueryAllVoteResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey storetypes.StoreKey, tmkeeper types.TokenmanagerKeeper, staking types.StakingKeeper, bank types.BankKeeper, ) *Keeper
func (Keeper) ApplyOperation ¶
ApplyOperation method that should be called to apply operation successful signing. Should implement certain logic depending on operation type.
func (Keeper) ApproveOperation ¶
func (Keeper) ApproveOperationDefault ¶
func (Keeper) ApproveTransferOperation ¶
func (Keeper) Confirmation ¶
func (k Keeper) Confirmation(c context.Context, req *types.QueryGetConfirmationRequest) (*types.QueryGetConfirmationResponse, error)
func (Keeper) ConfirmationAll ¶
func (k Keeper) ConfirmationAll(c context.Context, req *types.QueryAllConfirmationRequest) (*types.QueryAllConfirmationResponse, error)
func (Keeper) CreateAddFeeTokenOperation ¶
func (Keeper) CreateChangePartiesOperation ¶
func (Keeper) CreateContractUpgradeOperation ¶
func (k Keeper) CreateContractUpgradeOperation(ctx sdk.Context, upgradeDetails *tokenmanagertypes.ContractUpgradeDetails) error
func (Keeper) CreateFeeTokenManagementOperation ¶
func (Keeper) CreateIdentityAggregatedTransferOperation ¶
func (Keeper) CreateIdentityDefaultTransferOperation ¶
func (Keeper) CreateRemoveFeeTokenOperation ¶
func (Keeper) CreateTransferOperation ¶
func (Keeper) CreateUpdateFeeTokenOperation ¶
func (Keeper) CreateVote ¶
func (Keeper) CreateWithdrawFeeOperation ¶
func (Keeper) DropPartiesProposal ¶
func (Keeper) EndBlocker ¶
func (Keeper) GetAllConfirmation ¶
func (k Keeper) GetAllConfirmation(ctx sdk.Context) (list []types.Confirmation)
GetAllConfirmation returns all confirmation
func (Keeper) GetAllOperation ¶
GetAllOperation returns all operation
func (Keeper) GetAllViolationReport ¶
func (k Keeper) GetAllViolationReport(ctx sdk.Context) (list []types.ViolationReport)
GetAllViolationReport returns all ViolationReport
func (Keeper) GetAllVote ¶
GetAllVote returns all Vote
func (Keeper) GetConfirmation ¶
func (k Keeper) GetConfirmation( ctx sdk.Context, root string, ) (val types.Confirmation, found bool)
GetConfirmation returns a confirmation from its index
func (Keeper) GetIdentityDefaultTransfer ¶
func (k Keeper) GetIdentityDefaultTransfer(_ sdk.Context, msg *oracletypes.MsgCreateIdentityDefaultTransferOp) (*types.IdentityDefaultTransfer, error)
func (Keeper) GetOperation ¶
GetOperation returns an operation from its index
func (Keeper) GetOperationConfirmationId ¶
func (Keeper) GetTransfer ¶
func (k Keeper) GetTransfer(ctx sdk.Context, msg *oracletypes.MsgCreateTransferOp) (*types.Transfer, error)
func (Keeper) GetViolationReport ¶
func (k Keeper) GetViolationReport( ctx sdk.Context, index *types.ViolationReportIndex, ) (val types.ViolationReport, found bool)
GetViolationReport returns a ViolationReport from its index
func (Keeper) IterateViolationReports ¶
func (Keeper) IterateVotes ¶
func (Keeper) Operation ¶
func (k Keeper) Operation(c context.Context, req *types.QueryGetOperationRequest) (*types.QueryGetOperationResponse, error)
func (Keeper) OperationAll ¶
func (k Keeper) OperationAll(c context.Context, req *types.QueryAllOperationRequest) (*types.QueryAllOperationResponse, error)
func (Keeper) OperationProof ¶
func (k Keeper) OperationProof(c context.Context, req *types.QueryGetOperationProofRequest) (*types.QueryGetOperationProofResponse, error)
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RemoveConfirmation ¶
RemoveConfirmation removes a confirmation from the store
func (Keeper) RemoveOperation ¶
RemoveOperation removes an operation from the store
func (Keeper) RemoveOperationConfirmationId ¶
func (Keeper) RemoveViolationReport ¶
func (k Keeper) RemoveViolationReport( ctx sdk.Context, index *types.ViolationReportIndex, )
RemoveViolationReport removes a ViolationReport from the store
func (Keeper) RemoveVote ¶
RemoveVote removes a Vote from the store
func (Keeper) ReshareKeysProposal ¶
func (Keeper) SetConfirmation ¶
func (k Keeper) SetConfirmation(ctx sdk.Context, confirmation types.Confirmation)
SetConfirmation set a specific confirmation in the store from its index
func (Keeper) SetOperation ¶
SetOperation set a specific deposit in the store from its index
func (Keeper) SetOperationConfirmationId ¶
func (Keeper) SetViolationReport ¶
func (k Keeper) SetViolationReport(ctx sdk.Context, v types.ViolationReport)
SetViolationReport set a violation report in the store from its index
func (Keeper) SlashProposal ¶
func (Keeper) UnapproveOperation ¶
func (Keeper) UnfreezeSignerPartyProposal ¶
func (Keeper) UpdateLastSignature ¶
func (Keeper) ViolationReport ¶
func (k Keeper) ViolationReport(c context.Context, req *types.QueryGetViolationReportRequest) (*types.QueryGetViolationReportResponse, error)
func (Keeper) ViolationReportAll ¶
func (k Keeper) ViolationReportAll(c context.Context, req *types.QueryAllViolationReportRequest) (*types.QueryAllViolationReportResponse, error)
func (Keeper) Vote ¶
func (k Keeper) Vote(c context.Context, req *types.QueryGetVoteRequest) (*types.QueryGetVoteResponse, error)
func (Keeper) VoteAll ¶
func (k Keeper) VoteAll(c context.Context, req *types.QueryAllVoteRequest) (*types.QueryAllVoteResponse, error)
Source Files ¶
- abci.go
- confirmation.go
- grpc_query.go
- grpc_query_confirmation.go
- grpc_query_operation.go
- grpc_query_params.go
- grpc_query_violation_report.go
- grpc_query_vote.go
- keeper.go
- manage_fee_token.go
- msg_server.go
- msg_server_change_address.go
- msg_server_change_parties.go
- msg_server_confirmation.go
- msg_server_report_violation.go
- msg_server_resign.go
- msg_server_setup_initial.go
- msg_server_stake.go
- msg_server_unstake.go
- operation.go
- params.go
- proposal.go
- violation_report.go
- vote.go
- voting.go