Documentation ¶
Index ¶
- func Utxo_OgmigoToApollo(u statequery.Utxo) UTxO.UTxO
- type Bytes
- type ExUnits
- type Lovelace
- type OgmiosChainContext
- func (occ *OgmiosChainContext) AddressUtxos(address string, gather bool) []Base.AddressUTXO
- func (occ *OgmiosChainContext) Epoch() int
- func (occ *OgmiosChainContext) EvaluateTx(tx []byte) map[string]Redeemer.ExecutionUnits
- func (occ *OgmiosChainContext) GenesisParams() Base.GenesisParameters
- func (occ *OgmiosChainContext) GetContractCbor(scriptHash string) string
- func (occ *OgmiosChainContext) GetGenesisParams() Base.GenesisParameters
- func (occ *OgmiosChainContext) GetProtocolParams() Base.ProtocolParameters
- func (occ *OgmiosChainContext) GetUtxoFromRef(txHash string, index int) *UTxO.UTxO
- func (occ *OgmiosChainContext) Init()
- func (occ *OgmiosChainContext) LastBlockSlot() int
- func (occ *OgmiosChainContext) LatestBlock() Base.Block
- func (occ *OgmiosChainContext) LatestEpoch() Base.Epoch
- func (occ *OgmiosChainContext) LatestEpochParams() Base.ProtocolParameters
- func (occ *OgmiosChainContext) MaxTxFee() int
- func (occ *OgmiosChainContext) Network() int
- func (occ *OgmiosChainContext) SubmitTx(tx Transaction.Transaction) (serialization.TransactionId, error)
- func (occ *OgmiosChainContext) TxOuts(txHash string) []Base.Output
- func (occ *OgmiosChainContext) Utxos(address Address.Address) []UTxO.UTxO
- type OgmiosProtocolParameters
- type Prices
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Utxo_OgmigoToApollo ¶ added in v1.0.5
func Utxo_OgmigoToApollo(u statequery.Utxo) UTxO.UTxO
Types ¶
type OgmiosChainContext ¶
type OgmiosChainContext struct {
// contains filtered or unexported fields
}
func NewOgmiosChainContext ¶ added in v1.0.5
func NewOgmiosChainContext(ogmigoClient ogmigo.Client, kugoClient kugo.Client) OgmiosChainContext
func (*OgmiosChainContext) AddressUtxos ¶
func (occ *OgmiosChainContext) AddressUtxos(address string, gather bool) []Base.AddressUTXO
func (*OgmiosChainContext) Epoch ¶
func (occ *OgmiosChainContext) Epoch() int
func (*OgmiosChainContext) EvaluateTx ¶
func (occ *OgmiosChainContext) EvaluateTx(tx []byte) map[string]Redeemer.ExecutionUnits
func (*OgmiosChainContext) GenesisParams ¶
func (occ *OgmiosChainContext) GenesisParams() Base.GenesisParameters
func (*OgmiosChainContext) GetContractCbor ¶
func (occ *OgmiosChainContext) GetContractCbor(scriptHash string) string
This is unused
func (*OgmiosChainContext) GetGenesisParams ¶
func (occ *OgmiosChainContext) GetGenesisParams() Base.GenesisParameters
func (*OgmiosChainContext) GetProtocolParams ¶
func (occ *OgmiosChainContext) GetProtocolParams() Base.ProtocolParameters
func (*OgmiosChainContext) GetUtxoFromRef ¶
func (occ *OgmiosChainContext) GetUtxoFromRef(txHash string, index int) *UTxO.UTxO
func (*OgmiosChainContext) Init ¶
func (occ *OgmiosChainContext) Init()
func (*OgmiosChainContext) LastBlockSlot ¶
func (occ *OgmiosChainContext) LastBlockSlot() int
Seems unused
func (*OgmiosChainContext) LatestBlock ¶
func (occ *OgmiosChainContext) LatestBlock() Base.Block
Seems unused
func (*OgmiosChainContext) LatestEpoch ¶
func (occ *OgmiosChainContext) LatestEpoch() Base.Epoch
func (*OgmiosChainContext) LatestEpochParams ¶
func (occ *OgmiosChainContext) LatestEpochParams() Base.ProtocolParameters
func (*OgmiosChainContext) MaxTxFee ¶
func (occ *OgmiosChainContext) MaxTxFee() int
func (*OgmiosChainContext) Network ¶
func (occ *OgmiosChainContext) Network() int
func (*OgmiosChainContext) SubmitTx ¶
func (occ *OgmiosChainContext) SubmitTx(tx Transaction.Transaction) (serialization.TransactionId, error)
type OgmiosProtocolParameters ¶ added in v1.0.5
type OgmiosProtocolParameters struct { MinFeeConstant Lovelace `json:"minFeeConstant"` MinFeeCoefficient uint64 `json:"minFeeCoefficient"` MaxBlockSize Bytes `json:"maxBlockBodySize"` MaxTxSize Bytes `json:"maxTransactionSize"` MaxBlockHeaderSize Bytes `json:"maxBlockHeaderSize"` KeyDeposits Lovelace `json:"stakeCredentialDeposit"` PoolDeposits Lovelace `json:"stakePoolDeposit"` PoolInfluence string `json:"stakePoolPledgeInfluence"` MonetaryExpansion string `json:"monetaryExpansion"` TreasuryExpansion string `json:"treasuryExpansion"` ExtraEntropy string `json:"extraEntropy"` MaxValSize Bytes `json:"maxValueSize"` ScriptExecutionPrices Prices `json:"scriptExecutionPrices"` MinUtxoDepositCoefficient uint64 `json:"minUtxoDepositCoefficient"` MinUtxoDepositConstant uint64 `json:"minUtxoDepositConstant"` MinStakePoolCost Lovelace `json:"minStakePoolCost"` MaxExecutionUnitsPerTransaction ExUnits `json:"maxExecutionUnitsPerTransaction"` MaxExecutionUnitsPerBlock ExUnits `json:"maxExecutionUnitsPerBlock"` CollateralPercentage uint64 `json:"collateralPercentage"` MaxCollateralInputs uint64 `json:"maxCollateralInputs"` Version Version `json:"version"` }
type Prices ¶ added in v1.0.5
func (*Prices) UnmarshalJSON ¶ added in v1.0.5
Click to show internal directories.
Click to hide internal directories.