Documentation ¶
Index ¶
- func AddressFromPubKey(pk []byte) (string, error)
- type Addresses
- func (a Addresses) AddIbcRelayer(address string)
- func (a Addresses) Get(address string) (*storage.Address, bool)
- func (a Addresses) RemoveIbcRelayer(address string)
- func (a Addresses) Set(address string, height types.Level, change decimal.Decimal, asset string, ...) *storage.Address
- func (a Addresses) UpdateNonce(address string, nonce uint32)
- type Context
- func (ctx *Context) AddBridge(b *storage.Bridge)
- func (ctx *Context) AddBridgeAsset(bridge, asset string)
- func (ctx *Context) AddDeposit(idx int64, deposit *storage.Deposit)
- func (ctx *Context) AddFee(idx int64, fee *storage.Fee)
- func (ctx *Context) AddGenericConstant(key, value string)
- func (ctx *Context) AddTransfer(transfer *storage.Transfer)
- func (ctx *Context) BridgesArray() []*storage.Bridge
- func (ctx *Context) ClearTx()
- func (ctx *Context) ConstantsArray() []*storage.Constant
- type DecodedTx
- type IbcTransfer
- type Rollups
- type Validators
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddressFromPubKey ¶
Types ¶
type Addresses ¶
func NewAddress ¶
func NewAddress() Addresses
func (Addresses) AddIbcRelayer ¶ added in v1.2.0
func (Addresses) RemoveIbcRelayer ¶ added in v1.2.0
func (Addresses) UpdateNonce ¶
type Context ¶
type Context struct { Addresses Addresses Rollups Rollups Validators Validators RollupAddress map[string]*storage.RollupAddress AddressActions map[string]*storage.AddressAction SupplyChange decimal.Decimal BytesInBlock int64 GasUsed int64 GasWanted int64 DataSize int64 ActionTypes storageTypes.Bits Constants map[string]*storage.Constant Bridges map[string]*storage.Bridge Fees map[int64]*storage.Fee Transfers []*storage.Transfer Deposits map[int64]*storage.Deposit HasWriteAckError bool Proposer string // contains filtered or unexported fields }
func NewContext ¶
func (*Context) AddBridgeAsset ¶ added in v1.1.0
func (*Context) AddDeposit ¶ added in v1.1.0
func (*Context) AddGenericConstant ¶
func (*Context) AddTransfer ¶ added in v1.1.0
func (*Context) BridgesArray ¶
func (*Context) ConstantsArray ¶
type DecodedTx ¶
type DecodedTx struct { Tx *astria.Transaction UnsignedTx *astria.TransactionBody Actions []storage.Action Signer *storage.Address ActionTypes storageTypes.Bits }
type IbcTransfer ¶ added in v1.1.0
type Rollups ¶
func NewRollups ¶
func NewRollups() Rollups
type Validators ¶
func NewValidators ¶
func NewValidators() Validators
Click to show internal directories.
Click to hide internal directories.