Documentation
¶
Index ¶
- func AddressFromPubKey(pk []byte) (string, error)
- type Addresses
- 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) 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) 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
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.