Safe Haskell | None |
---|---|
Language | Haskell2010 |
Lenses for Blockfrost types
Synopsis
- class HasUrl s a | s -> a where
- class HasVersion s a | s -> a where
- class HasActive s a | s -> a where
-
class
HasActiveEpoch
s a | s -> a
where
- activeEpoch :: Lens' s a
-
class
HasControlledAmount
s a | s -> a
where
- controlledAmount :: Lens' s a
- class HasPoolId s a | s -> a where
-
class
HasReservesSum
s a | s -> a
where
- reservesSum :: Lens' s a
-
class
HasRewardsSum
s a | s -> a
where
- rewardsSum :: Lens' s a
-
class
HasStakeAddress
s a | s -> a
where
- stakeAddress :: Lens' s a
-
class
HasTreasurySum
s a | s -> a
where
- treasurySum :: Lens' s a
-
class
HasWithdrawableAmount
s a | s -> a
where
- withdrawableAmount :: Lens' s a
-
class
HasWithdrawalsSum
s a | s -> a
where
- withdrawalsSum :: Lens' s a
- class HasAmount s a | s -> a where
- class HasEpoch s a | s -> a where
- class HasTxHash s a | s -> a where
- class HasAction s a | s -> a where
- class HasAddress s a | s -> a where
- class HasScript s a | s -> a where
- class HasType s a | s -> a where
-
class
HasReceivedSum
s a | s -> a
where
- receivedSum :: Lens' s a
- class HasSentSum s a | s -> a where
- class HasTxCount s a | s -> a where
- class HasBlock s a | s -> a where
- class HasDataHash s a | s -> a where
-
class
HasOutputIndex
s a | s -> a
where
- outputIndex :: Lens' s a
-
class
HasBlockHeight
s a | s -> a
where
- blockHeight :: Lens' s a
- class HasBlockTime s a | s -> a where
- class HasTxIndex s a | s -> a where
- class HasAsset s a | s -> a where
- class HasQuantity s a | s -> a where
- class HasAssetName s a | s -> a where
-
class
HasFingerprint
s a | s -> a
where
- fingerprint :: Lens' s a
-
class
HasInitialMintTxHash
s a | s -> a
where
- initialMintTxHash :: Lens' s a
- class HasMetadata s a | s -> a where
-
class
HasMintOrBurnCount
s a | s -> a
where
- mintOrBurnCount :: Lens' s a
-
class
HasOnchainMetadata
s a | s -> a
where
- onchainMetadata :: Lens' s a
- class HasPolicyId s a | s -> a where
- class HasImage s a | s -> a where
- class HasName s a | s -> a where
- class HasDecimals s a | s -> a where
-
class
HasDescription
s a | s -> a
where
- description :: Lens' s a
- class HasLogo s a | s -> a where
- class HasTicker s a | s -> a where
- class HasBlockVrf s a | s -> a where
-
class
HasConfirmations
s a | s -> a
where
- confirmations :: Lens' s a
- class HasEpochSlot s a | s -> a where
- class HasFees s a | s -> a where
- class HasHash s a | s -> a where
- class HasHeight s a | s -> a where
- class HasNextBlock s a | s -> a where
- class HasOutput s a | s -> a where
-
class
HasPreviousBlock
s a | s -> a
where
- previousBlock :: Lens' s a
- class HasSize s a | s -> a where
- class HasSlot s a | s -> a where
-
class
HasSlotLeader
s a | s -> a
where
- slotLeader :: Lens' s a
- class HasTime s a | s -> a where
-
class
HasActiveStake
s a | s -> a
where
- activeStake :: Lens' s a
-
class
HasBlockCount
s a | s -> a
where
- blockCount :: Lens' s a
- class HasEndTime s a | s -> a where
-
class
HasFirstBlockTime
s a | s -> a
where
- firstBlockTime :: Lens' s a
-
class
HasLastBlockTime
s a | s -> a
where
- lastBlockTime :: Lens' s a
- class HasStartTime s a | s -> a where
- class HasA0 s a | s -> a where
-
class
HasCoinsPerUtxoWord
s a | s -> a
where
- coinsPerUtxoWord :: Lens' s a
-
class
HasCollateralPercent
s a | s -> a
where
- collateralPercent :: Lens' s a
-
class
HasDecentralisationParam
s a | s -> a
where
- decentralisationParam :: Lens' s a
- class HasEMax s a | s -> a where
-
class
HasExtraEntropy
s a | s -> a
where
- extraEntropy :: Lens' s a
-
class
HasKeyDeposit
s a | s -> a
where
- keyDeposit :: Lens' s a
-
class
HasMaxBlockExMem
s a | s -> a
where
- maxBlockExMem :: Lens' s a
-
class
HasMaxBlockExSteps
s a | s -> a
where
- maxBlockExSteps :: Lens' s a
-
class
HasMaxBlockHeaderSize
s a | s -> a
where
- maxBlockHeaderSize :: Lens' s a
-
class
HasMaxBlockSize
s a | s -> a
where
- maxBlockSize :: Lens' s a
-
class
HasMaxCollateralInputs
s a | s -> a
where
- maxCollateralInputs :: Lens' s a
-
class
HasMaxTxExMem
s a | s -> a
where
- maxTxExMem :: Lens' s a
-
class
HasMaxTxExSteps
s a | s -> a
where
- maxTxExSteps :: Lens' s a
- class HasMaxTxSize s a | s -> a where
-
class
HasMaxValSize
s a | s -> a
where
- maxValSize :: Lens' s a
- class HasMinFeeA s a | s -> a where
- class HasMinFeeB s a | s -> a where
-
class
HasMinPoolCost
s a | s -> a
where
- minPoolCost :: Lens' s a
- class HasMinUtxo s a | s -> a where
- class HasNOpt s a | s -> a where
- class HasNonce s a | s -> a where
-
class
HasPoolDeposit
s a | s -> a
where
- poolDeposit :: Lens' s a
- class HasPriceMem s a | s -> a where
- class HasPriceStep s a | s -> a where
-
class
HasProtocolMajorVer
s a | s -> a
where
- protocolMajorVer :: Lens' s a
-
class
HasProtocolMinorVer
s a | s -> a
where
- protocolMinorVer :: Lens' s a
- class HasRho s a | s -> a where
- class HasTau s a | s -> a where
-
class
HasActiveSlotsCoefficient
s a | s -> a
where
- activeSlotsCoefficient :: Lens' s a
-
class
HasEpochLength
s a | s -> a
where
- epochLength :: Lens' s a
-
class
HasMaxKesEvolutions
s a | s -> a
where
- maxKesEvolutions :: Lens' s a
-
class
HasMaxLovelaceSupply
s a | s -> a
where
- maxLovelaceSupply :: Lens' s a
-
class
HasNetworkMagic
s a | s -> a
where
- networkMagic :: Lens' s a
-
class
HasSecurityParam
s a | s -> a
where
- securityParam :: Lens' s a
-
class
HasSlotLength
s a | s -> a
where
- slotLength :: Lens' s a
-
class
HasSlotsPerKesPeriod
s a | s -> a
where
- slotsPerKesPeriod :: Lens' s a
-
class
HasSystemStart
s a | s -> a
where
- systemStart :: Lens' s a
-
class
HasUpdateQuorum
s a | s -> a
where
- updateQuorum :: Lens' s a
- class HasCip10 s a | s -> a where
- class HasCount s a | s -> a where
- class HasLabel s a | s -> a where
-
class
HasJSONMetadata
s a | s -> a
where
- jSONMetadata :: Lens' s a
- class HasStake s a | s -> a where
- class HasSupply s a | s -> a where
-
class
HasActiveSize
s a | s -> a
where
- activeSize :: Lens' s a
-
class
HasBlocksMinted
s a | s -> a
where
- blocksMinted :: Lens' s a
-
class
HasDeclaredPledge
s a | s -> a
where
- declaredPledge :: Lens' s a
- class HasFixedCost s a | s -> a where
- class HasHex s a | s -> a where
-
class
HasLiveDelegators
s a | s -> a
where
- liveDelegators :: Lens' s a
-
class
HasLivePledge
s a | s -> a
where
- livePledge :: Lens' s a
-
class
HasLiveSaturation
s a | s -> a
where
- liveSaturation :: Lens' s a
- class HasLiveSize s a | s -> a where
- class HasLiveStake s a | s -> a where
-
class
HasMarginCost
s a | s -> a
where
- marginCost :: Lens' s a
- class HasOwners s a | s -> a where
-
class
HasRegistration
s a | s -> a
where
- registration :: Lens' s a
-
class
HasRetirement
s a | s -> a
where
- retirement :: Lens' s a
-
class
HasRewardAccount
s a | s -> a
where
- rewardAccount :: Lens' s a
- class HasVrfKey s a | s -> a where
- class HasBlocks s a | s -> a where
-
class
HasDelegatorsCount
s a | s -> a
where
- delegatorsCount :: Lens' s a
- class HasRewards s a | s -> a where
- class HasHomepage s a | s -> a where
- class HasDns s a | s -> a where
- class HasDnsSrv s a | s -> a where
- class HasIpv4 s a | s -> a where
- class HasIpv6 s a | s -> a where
- class HasPort s a | s -> a where
- class HasCertIndex s a | s -> a where
-
class
HasAssetMintOrBurnCount
s a | s -> a
where
- assetMintOrBurnCount :: Lens' s a
-
class
HasDelegationCount
s a | s -> a
where
- delegationCount :: Lens' s a
- class HasDeposit s a | s -> a where
- class HasIndex s a | s -> a where
-
class
HasInvalidBefore
s a | s -> a
where
- invalidBefore :: Lens' s a
-
class
HasInvalidHereafter
s a | s -> a
where
- invalidHereafter :: Lens' s a
-
class
HasMirCertCount
s a | s -> a
where
- mirCertCount :: Lens' s a
-
class
HasOutputAmount
s a | s -> a
where
- outputAmount :: Lens' s a
-
class
HasPoolRetireCount
s a | s -> a
where
- poolRetireCount :: Lens' s a
-
class
HasPoolUpdateCount
s a | s -> a
where
- poolUpdateCount :: Lens' s a
-
class
HasRedeemerCount
s a | s -> a
where
- redeemerCount :: Lens' s a
-
class
HasStakeCertCount
s a | s -> a
where
- stakeCertCount :: Lens' s a
- class HasUtxoCount s a | s -> a where
-
class
HasValidContract
s a | s -> a
where
- validContract :: Lens' s a
-
class
HasWithdrawalCount
s a | s -> a
where
- withdrawalCount :: Lens' s a
- class HasInputs s a | s -> a where
- class HasOutputs s a | s -> a where
-
class
HasCollateral
s a | s -> a
where
- collateral :: Lens' s a
- class HasPot s a | s -> a where
- class HasPledge s a | s -> a where
- class HasRelays s a | s -> a where
-
class
HasRetiringEpoch
s a | s -> a
where
- retiringEpoch :: Lens' s a
- class HasDatumHash s a | s -> a where
- class HasFee s a | s -> a where
- class HasPurpose s a | s -> a where
-
class
HasScriptHash
s a | s -> a
where
- scriptHash :: Lens' s a
- class HasUnitMem s a | s -> a where
- class HasUnitSteps s a | s -> a where
- class HasIpfsHash s a | s -> a where
- class HasState s a | s -> a where
-
class
HasTimeCreated
s a | s -> a
where
- timeCreated :: Lens' s a
-
class
HasTimePinned
s a | s -> a
where
- timePinned :: Lens' s a
-
class
HasMetadataHash
s a | s -> a
where
- metadataHash :: Lens' s a
-
class
HasMetadataUrl
s a | s -> a
where
- metadataUrl :: Lens' s a
-
class
HasLatestBlock
s a | s -> a
where
- latestBlock :: Lens' s a
- class HasPayload s a | s -> a where
- _AssetAmount :: Prism' Amount SomeDiscrete
- _AdaAmount :: Prism' Amount Lovelaces
Documentation
class HasUrl s a | s -> a where Source #
Instances
HasUrl URLVersion Text Source # | |
Defined in Blockfrost.Lens |
|
HasUrl PoolMetadata ( Maybe Text ) Source # | |
Defined in Blockfrost.Lens |
|
HasUrl PoolUpdateMetadata ( Maybe Text ) Source # | |
Defined in Blockfrost.Lens |
|
HasUrl AssetMetadata ( Maybe Text ) Source # | |
Defined in Blockfrost.Lens |
class HasVersion s a | s -> a where Source #
Instances
HasVersion URLVersion Text Source # | |
Defined in Blockfrost.Lens |
class HasActive s a | s -> a where Source #
Instances
HasActive AccountInfo Bool Source # | |
Defined in Blockfrost.Lens |
class HasActiveEpoch s a | s -> a where Source #
activeEpoch :: Lens' s a Source #
Instances
HasActiveEpoch TransactionPoolUpdate Epoch Source # | |
Defined in Blockfrost.Lens |
|
HasActiveEpoch TransactionDelegation Epoch Source # | |
Defined in Blockfrost.Lens |
|
HasActiveEpoch AccountDelegation Epoch Source # | |
Defined in Blockfrost.Lens |
|
HasActiveEpoch AccountHistory Integer Source # | |
Defined in Blockfrost.Lens |
|
HasActiveEpoch AccountInfo ( Maybe Integer ) Source # | |
Defined in Blockfrost.Lens activeEpoch :: Lens' AccountInfo ( Maybe Integer ) Source # |
class HasControlledAmount s a | s -> a where Source #
controlledAmount :: Lens' s a Source #
Instances
a ~ Lovelaces => HasControlledAmount AccountInfo a Source # | |
Defined in Blockfrost.Lens |
class HasPoolId s a | s -> a where Source #
Instances
HasPoolId PoolMetadata PoolId Source # | |
Defined in Blockfrost.Lens |
|
HasPoolId PoolInfo PoolId Source # | |
HasPoolId PoolEpoch PoolId Source # | |
HasPoolId TransactionPoolRetiring PoolId Source # | |
Defined in Blockfrost.Lens |
|
HasPoolId TransactionPoolUpdate PoolId Source # | |
Defined in Blockfrost.Lens |
|
HasPoolId TransactionDelegation PoolId Source # | |
Defined in Blockfrost.Lens |
|
HasPoolId StakeDistribution PoolId Source # | |
Defined in Blockfrost.Lens |
|
HasPoolId AccountDelegation PoolId Source # | |
Defined in Blockfrost.Lens |
|
HasPoolId AccountHistory PoolId Source # | |
Defined in Blockfrost.Lens |
|
HasPoolId AccountReward PoolId Source # | |
Defined in Blockfrost.Lens |
|
HasPoolId AccountInfo ( Maybe PoolId ) Source # | |
Defined in Blockfrost.Lens |
class HasReservesSum s a | s -> a where Source #
reservesSum :: Lens' s a Source #
Instances
a ~ Lovelaces => HasReservesSum AccountInfo a Source # | |
Defined in Blockfrost.Lens reservesSum :: Lens' AccountInfo a Source # |
class HasRewardsSum s a | s -> a where Source #
rewardsSum :: Lens' s a Source #
Instances
a ~ Lovelaces => HasRewardsSum AccountInfo a Source # | |
Defined in Blockfrost.Lens rewardsSum :: Lens' AccountInfo a Source # |
class HasStakeAddress s a | s -> a where Source #
stakeAddress :: Lens' s a Source #
Instances
HasStakeAddress PoolStakeDistribution Address Source # | |
Defined in Blockfrost.Lens |
|
HasStakeAddress StakeDistribution Address Source # | |
Defined in Blockfrost.Lens |
|
HasStakeAddress AccountInfo Address Source # | |
Defined in Blockfrost.Lens |
|
HasStakeAddress AddressInfo ( Maybe Address ) Source # | |
Defined in Blockfrost.Lens stakeAddress :: Lens' AddressInfo ( Maybe Address ) Source # |
class HasTreasurySum s a | s -> a where Source #
treasurySum :: Lens' s a Source #
Instances
a ~ Lovelaces => HasTreasurySum AccountInfo a Source # | |
Defined in Blockfrost.Lens treasurySum :: Lens' AccountInfo a Source # |
class HasWithdrawableAmount s a | s -> a where Source #
withdrawableAmount :: Lens' s a Source #
Instances
a ~ Lovelaces => HasWithdrawableAmount AccountInfo a Source # | |
Defined in Blockfrost.Lens |
class HasWithdrawalsSum s a | s -> a where Source #
withdrawalsSum :: Lens' s a Source #
Instances
a ~ Lovelaces => HasWithdrawalsSum AccountInfo a Source # | |
Defined in Blockfrost.Lens |
class HasAmount s a | s -> a where Source #
Instances
class HasEpoch s a | s -> a where Source #
Instances
HasEpoch PoolHistory Epoch Source # | |
Defined in Blockfrost.Lens |
|
HasEpoch PoolEpoch Epoch Source # | |
HasEpoch ProtocolParams Epoch Source # | |
Defined in Blockfrost.Lens |
|
HasEpoch EpochInfo Epoch Source # | |
HasEpoch AccountReward Epoch Source # | |
Defined in Blockfrost.Lens |
|
HasEpoch Block ( Maybe Epoch ) Source # | |
class HasTxHash s a | s -> a where Source #
Instances
HasTxHash NutlinkTicker TxHash Source # | |
Defined in Blockfrost.Lens |
|
HasTxHash PoolUpdate TxHash Source # | |
Defined in Blockfrost.Lens |
|
HasTxHash UtxoInput TxHash Source # | |
HasTxHash TxMetaCBOR TxHash Source # | |
Defined in Blockfrost.Lens |
|
HasTxHash TxMetaJSON TxHash Source # | |
Defined in Blockfrost.Lens |
|
HasTxHash AssetTransaction TxHash Source # | |
Defined in Blockfrost.Lens |
|
HasTxHash AssetHistory TxHash Source # | |
Defined in Blockfrost.Lens |
|
HasTxHash AddressTransaction TxHash Source # | |
Defined in Blockfrost.Lens |
|
HasTxHash AddressUtxo TxHash Source # | |
Defined in Blockfrost.Lens |
|
HasTxHash AccountMir TxHash Source # | |
Defined in Blockfrost.Lens |
|
HasTxHash AccountWithdrawal TxHash Source # | |
Defined in Blockfrost.Lens |
|
HasTxHash AccountRegistration TxHash Source # | |
Defined in Blockfrost.Lens |
|
HasTxHash AccountDelegation TxHash Source # | |
Defined in Blockfrost.Lens |
class HasAction s a | s -> a where Source #
Instances
HasAction PoolUpdate PoolRegistrationAction Source # | |
Defined in Blockfrost.Lens |
|
HasAction AssetHistory AssetAction Source # | |
Defined in Blockfrost.Lens |
|
HasAction AccountRegistration AccountRegistrationAction Source # | |
Defined in Blockfrost.Lens |
class HasAddress s a | s -> a where Source #
Instances
HasAddress NutlinkAddress Address Source # | |
Defined in Blockfrost.Lens |
|
HasAddress PoolDelegator Text Source # | |
Defined in Blockfrost.Lens |
|
HasAddress TransactionMir Address Source # | |
Defined in Blockfrost.Lens |
|
HasAddress TransactionWithdrawal Address Source # | |
Defined in Blockfrost.Lens |
|
HasAddress TransactionDelegation Address Source # | |
Defined in Blockfrost.Lens |
|
HasAddress TransactionStake Address Source # | |
Defined in Blockfrost.Lens |
|
HasAddress UtxoOutput Address Source # | |
Defined in Blockfrost.Lens |
|
HasAddress UtxoInput Address Source # | |
HasAddress AssetAddress Address Source # | |
Defined in Blockfrost.Lens |
|
HasAddress AddressDetails Address Source # | |
Defined in Blockfrost.Lens |
|
HasAddress AddressInfo Address Source # | |
Defined in Blockfrost.Lens |
class HasScript s a | s -> a where Source #
Instances
HasScript AddressInfo Bool Source # | |
Defined in Blockfrost.Lens |
class HasType s a | s -> a where Source #
Instances
HasType AddressInfo AddressType Source # | |
Defined in Blockfrost.Lens |
class HasReceivedSum s a | s -> a where Source #
receivedSum :: Lens' s a Source #
Instances
HasReceivedSum AddressDetails [ Amount ] Source # | |
Defined in Blockfrost.Lens receivedSum :: Lens' AddressDetails [ Amount ] Source # |
class HasSentSum s a | s -> a where Source #
Instances
HasSentSum AddressDetails [ Amount ] Source # | |
Defined in Blockfrost.Lens |
class HasTxCount s a | s -> a where Source #
Instances
class HasBlock s a | s -> a where Source #
Instances
HasBlock Transaction BlockHash Source # | |
Defined in Blockfrost.Lens |
|
HasBlock AddressUtxo BlockHash Source # | |
Defined in Blockfrost.Lens |
class HasDataHash s a | s -> a where Source #
Instances
HasDataHash UtxoOutput ( Maybe DatumHash ) Source # | |
Defined in Blockfrost.Lens |
|
HasDataHash UtxoInput ( Maybe DatumHash ) Source # | |
HasDataHash AddressUtxo ( Maybe Text ) Source # | |
Defined in Blockfrost.Lens |
class HasOutputIndex s a | s -> a where Source #
outputIndex :: Lens' s a Source #
Instances
HasOutputIndex UtxoOutput Integer Source # | |
Defined in Blockfrost.Lens |
|
HasOutputIndex UtxoInput Integer Source # | |
Defined in Blockfrost.Lens |
|
HasOutputIndex AddressUtxo Integer Source # | |
Defined in Blockfrost.Lens |
class HasBlockHeight s a | s -> a where Source #
blockHeight :: Lens' s a Source #
Instances
HasBlockHeight NutlinkTicker Integer Source # | |
Defined in Blockfrost.Lens |
|
HasBlockHeight Transaction Integer Source # | |
Defined in Blockfrost.Lens |
|
HasBlockHeight AssetTransaction Integer Source # | |
Defined in Blockfrost.Lens |
|
HasBlockHeight AddressTransaction Integer Source # | |
Defined in Blockfrost.Lens |
class HasBlockTime s a | s -> a where Source #
Instances
class HasTxIndex s a | s -> a where Source #
Instances
HasTxIndex NutlinkTicker Integer Source # | |
Defined in Blockfrost.Lens |
|
HasTxIndex TransactionRedeemer Integer Source # | |
Defined in Blockfrost.Lens |
|
HasTxIndex AssetTransaction Integer Source # | |
Defined in Blockfrost.Lens |
|
HasTxIndex AddressTransaction Integer Source # | |
Defined in Blockfrost.Lens |
class HasQuantity s a | s -> a where Source #
Instances
HasQuantity AssetAddress Quantity Source # | |
Defined in Blockfrost.Lens |
|
HasQuantity AssetDetails Quantity Source # | |
Defined in Blockfrost.Lens |
|
HasQuantity AssetInfo Quantity Source # | |
class HasAssetName s a | s -> a where Source #
Instances
HasAssetName AssetDetails ( Maybe Text ) Source # | |
Defined in Blockfrost.Lens |
class HasFingerprint s a | s -> a where Source #
fingerprint :: Lens' s a Source #
Instances
HasFingerprint AssetDetails Text Source # | |
Defined in Blockfrost.Lens |
class HasInitialMintTxHash s a | s -> a where Source #
initialMintTxHash :: Lens' s a Source #
Instances
class HasMetadata s a | s -> a where Source #
Instances
HasMetadata NutlinkAddress ( Maybe Value ) Source # | |
Defined in Blockfrost.Lens |
|
HasMetadata TransactionMetaCBOR ( Maybe Text ) Source # | |
Defined in Blockfrost.Lens |
|
HasMetadata TransactionPoolUpdate ( Maybe PoolUpdateMetadata ) Source # | |
Defined in Blockfrost.Lens |
|
HasMetadata TxMetaCBOR ( Maybe Text ) Source # | |
Defined in Blockfrost.Lens |
|
HasMetadata AssetDetails ( Maybe AssetMetadata ) Source # | |
Defined in Blockfrost.Lens metadata :: Lens' AssetDetails ( Maybe AssetMetadata ) Source # |
class HasMintOrBurnCount s a | s -> a where Source #
mintOrBurnCount :: Lens' s a Source #
Instances
class HasOnchainMetadata s a | s -> a where Source #
onchainMetadata :: Lens' s a Source #
Instances
class HasPolicyId s a | s -> a where Source #
Instances
HasPolicyId AssetDetails PolicyId Source # | |
Defined in Blockfrost.Lens |
class HasImage s a | s -> a where Source #
Instances
HasImage AssetOnChainMetadata Text Source # | |
Defined in Blockfrost.Lens |
class HasName s a | s -> a where Source #
Instances
HasName NutlinkAddressTicker Text Source # | |
Defined in Blockfrost.Lens |
|
HasName IPFSAdd Text Source # | |
HasName AssetMetadata Text Source # | |
Defined in Blockfrost.Lens |
|
HasName AssetOnChainMetadata Text Source # | |
Defined in Blockfrost.Lens |
|
HasName PoolMetadata ( Maybe Text ) Source # | |
Defined in Blockfrost.Lens |
|
HasName PoolUpdateMetadata ( Maybe Text ) Source # | |
Defined in Blockfrost.Lens |
class HasDecimals s a | s -> a where Source #
Instances
HasDecimals AssetMetadata ( Maybe Int ) Source # | |
Defined in Blockfrost.Lens |
class HasDescription s a | s -> a where Source #
description :: Lens' s a Source #
Instances
HasDescription AssetMetadata Text Source # | |
Defined in Blockfrost.Lens |
|
HasDescription PoolMetadata ( Maybe Text ) Source # | |
Defined in Blockfrost.Lens description :: Lens' PoolMetadata ( Maybe Text ) Source # |
|
HasDescription PoolUpdateMetadata ( Maybe Text ) Source # | |
Defined in Blockfrost.Lens description :: Lens' PoolUpdateMetadata ( Maybe Text ) Source # |
class HasLogo s a | s -> a where Source #
Instances
HasLogo AssetMetadata ( Maybe Text ) Source # | |
Defined in Blockfrost.Lens |
class HasTicker s a | s -> a where Source #
Instances
HasTicker PoolMetadata ( Maybe Text ) Source # | |
Defined in Blockfrost.Lens |
|
HasTicker PoolUpdateMetadata ( Maybe Text ) Source # | |
Defined in Blockfrost.Lens |
|
HasTicker AssetMetadata ( Maybe Text ) Source # | |
Defined in Blockfrost.Lens |
class HasBlockVrf s a | s -> a where Source #
class HasConfirmations s a | s -> a where Source #
confirmations :: Lens' s a Source #
Instances
HasConfirmations Block Integer Source # | |
Defined in Blockfrost.Lens |
class HasEpochSlot s a | s -> a where Source #
class HasFees s a | s -> a where Source #
Instances
a ~ Lovelaces => HasFees PoolHistory a Source # | |
Defined in Blockfrost.Lens fees :: Lens' PoolHistory a Source # |
|
a ~ Lovelaces => HasFees Transaction a Source # | |
Defined in Blockfrost.Lens fees :: Lens' Transaction a Source # |
|
a ~ Lovelaces => HasFees EpochInfo a Source # | |
a ~ Maybe Lovelaces => HasFees Block a Source # | |
class HasHash s a | s -> a where Source #
Instances
HasHash TransactionUtxos TxHash Source # | |
Defined in Blockfrost.Lens |
|
HasHash Transaction Text Source # | |
Defined in Blockfrost.Lens |
|
HasHash Block BlockHash Source # | |
HasHash PoolMetadata ( Maybe Text ) Source # | |
Defined in Blockfrost.Lens |
|
HasHash PoolUpdateMetadata ( Maybe Text ) Source # | |
Defined in Blockfrost.Lens |
class HasNextBlock s a | s -> a where Source #
class HasPreviousBlock s a | s -> a where Source #
previousBlock :: Lens' s a Source #
Instances
HasPreviousBlock Block ( Maybe BlockHash ) Source # | |
Defined in Blockfrost.Lens |
class HasSlotLeader s a | s -> a where Source #
slotLeader :: Lens' s a Source #
Instances
HasSlotLeader Block Text Source # | |
Defined in Blockfrost.Lens |
class HasActiveStake s a | s -> a where Source #
activeStake :: Lens' s a Source #
Instances
a ~ Lovelaces => HasActiveStake PoolHistory a Source # | |
Defined in Blockfrost.Lens activeStake :: Lens' PoolHistory a Source # |
|
a ~ Lovelaces => HasActiveStake PoolInfo a Source # | |
Defined in Blockfrost.Lens activeStake :: Lens' PoolInfo a Source # |
|
a ~ Maybe Lovelaces => HasActiveStake EpochInfo a Source # | |
Defined in Blockfrost.Lens activeStake :: Lens' EpochInfo a Source # |
class HasBlockCount s a | s -> a where Source #
blockCount :: Lens' s a Source #
Instances
HasBlockCount EpochInfo Integer Source # | |
Defined in Blockfrost.Lens |
class HasEndTime s a | s -> a where Source #
class HasLastBlockTime s a | s -> a where Source #
lastBlockTime :: Lens' s a Source #
Instances
HasLastBlockTime EpochInfo POSIXTime Source # | |
Defined in Blockfrost.Lens |
class HasStartTime s a | s -> a where Source #
class HasA0 s a | s -> a where Source #
Instances
HasA0 ProtocolParams Double Source # | |
Defined in Blockfrost.Lens |
class HasCoinsPerUtxoWord s a | s -> a where Source #
coinsPerUtxoWord :: Lens' s a Source #
Instances
a ~ Lovelaces => HasCoinsPerUtxoWord ProtocolParams a Source # | |
Defined in Blockfrost.Lens |
class HasCollateralPercent s a | s -> a where Source #
collateralPercent :: Lens' s a Source #
Instances
class HasDecentralisationParam s a | s -> a where Source #
decentralisationParam :: Lens' s a Source #
Instances
class HasEMax s a | s -> a where Source #
Instances
HasEMax ProtocolParams Integer Source # | |
Defined in Blockfrost.Lens |
class HasExtraEntropy s a | s -> a where Source #
extraEntropy :: Lens' s a Source #
Instances
HasExtraEntropy ProtocolParams ( Maybe Value ) Source # | |
Defined in Blockfrost.Lens extraEntropy :: Lens' ProtocolParams ( Maybe Value ) Source # |
class HasKeyDeposit s a | s -> a where Source #
keyDeposit :: Lens' s a Source #
Instances
a ~ Lovelaces => HasKeyDeposit ProtocolParams a Source # | |
Defined in Blockfrost.Lens keyDeposit :: Lens' ProtocolParams a Source # |
class HasMaxBlockExSteps s a | s -> a where Source #
maxBlockExSteps :: Lens' s a Source #
Instances
class HasMaxBlockHeaderSize s a | s -> a where Source #
maxBlockHeaderSize :: Lens' s a Source #
Instances
class HasMaxCollateralInputs s a | s -> a where Source #
maxCollateralInputs :: Lens' s a Source #
Instances
class HasMaxTxSize s a | s -> a where Source #
Instances
HasMaxTxSize ProtocolParams Integer Source # | |
Defined in Blockfrost.Lens |
class HasMinFeeA s a | s -> a where Source #
Instances
HasMinFeeA ProtocolParams Integer Source # | |
Defined in Blockfrost.Lens |
class HasMinFeeB s a | s -> a where Source #
Instances
HasMinFeeB ProtocolParams Integer Source # | |
Defined in Blockfrost.Lens |
class HasMinPoolCost s a | s -> a where Source #
minPoolCost :: Lens' s a Source #
Instances
a ~ Lovelaces => HasMinPoolCost ProtocolParams a Source # | |
Defined in Blockfrost.Lens |
class HasMinUtxo s a | s -> a where Source #
Instances
a ~ Lovelaces => HasMinUtxo ProtocolParams a Source # | |
Defined in Blockfrost.Lens minUtxo :: Lens' ProtocolParams a Source # |
class HasNOpt s a | s -> a where Source #
Instances
HasNOpt ProtocolParams Integer Source # | |
Defined in Blockfrost.Lens |
class HasNonce s a | s -> a where Source #
Instances
HasNonce ProtocolParams Text Source # | |
Defined in Blockfrost.Lens |
class HasPoolDeposit s a | s -> a where Source #
poolDeposit :: Lens' s a Source #
Instances
a ~ Lovelaces => HasPoolDeposit ProtocolParams a Source # | |
Defined in Blockfrost.Lens |
class HasPriceMem s a | s -> a where Source #
Instances
HasPriceMem ProtocolParams Double Source # | |
Defined in Blockfrost.Lens |
class HasPriceStep s a | s -> a where Source #
Instances
HasPriceStep ProtocolParams Double Source # | |
Defined in Blockfrost.Lens |
class HasProtocolMajorVer s a | s -> a where Source #
protocolMajorVer :: Lens' s a Source #
Instances
class HasProtocolMinorVer s a | s -> a where Source #
protocolMinorVer :: Lens' s a Source #
Instances
class HasRho s a | s -> a where Source #
Instances
HasRho ProtocolParams Double Source # | |
Defined in Blockfrost.Lens |
class HasTau s a | s -> a where Source #
Instances
HasTau ProtocolParams Double Source # | |
Defined in Blockfrost.Lens |
class HasActiveSlotsCoefficient s a | s -> a where Source #
activeSlotsCoefficient :: Lens' s a Source #
Instances
class HasEpochLength s a | s -> a where Source #
epochLength :: Lens' s a Source #
Instances
HasEpochLength Genesis Integer Source # | |
Defined in Blockfrost.Lens |
class HasMaxKesEvolutions s a | s -> a where Source #
maxKesEvolutions :: Lens' s a Source #
Instances
HasMaxKesEvolutions Genesis Integer Source # | |
Defined in Blockfrost.Lens |
class HasMaxLovelaceSupply s a | s -> a where Source #
maxLovelaceSupply :: Lens' s a Source #
Instances
a ~ Lovelaces => HasMaxLovelaceSupply Genesis a Source # | |
Defined in Blockfrost.Lens maxLovelaceSupply :: Lens' Genesis a Source # |
class HasNetworkMagic s a | s -> a where Source #
networkMagic :: Lens' s a Source #
Instances
HasNetworkMagic Genesis Integer Source # | |
Defined in Blockfrost.Lens |
class HasSecurityParam s a | s -> a where Source #
securityParam :: Lens' s a Source #
Instances
HasSecurityParam Genesis Integer Source # | |
Defined in Blockfrost.Lens |
class HasSlotLength s a | s -> a where Source #
slotLength :: Lens' s a Source #
Instances
HasSlotLength Genesis Integer Source # | |
Defined in Blockfrost.Lens |
class HasSlotsPerKesPeriod s a | s -> a where Source #
slotsPerKesPeriod :: Lens' s a Source #
Instances
HasSlotsPerKesPeriod Genesis Integer Source # | |
Defined in Blockfrost.Lens |
class HasSystemStart s a | s -> a where Source #
systemStart :: Lens' s a Source #
Instances
HasSystemStart Genesis POSIXTime Source # | |
Defined in Blockfrost.Lens |
class HasUpdateQuorum s a | s -> a where Source #
updateQuorum :: Lens' s a Source #
Instances
HasUpdateQuorum Genesis Integer Source # | |
Defined in Blockfrost.Lens |
class HasLabel s a | s -> a where Source #
Instances
HasLabel TransactionMetaCBOR Text Source # | |
Defined in Blockfrost.Lens |
|
HasLabel TransactionMetaJSON Text Source # | |
Defined in Blockfrost.Lens |
|
HasLabel TxMeta Text Source # | |
class HasJSONMetadata s a | s -> a where Source #
jSONMetadata :: Lens' s a Source #
Instances
HasJSONMetadata TransactionMetaJSON ( Maybe Value ) Source # | |
Defined in Blockfrost.Lens |
|
HasJSONMetadata TxMetaJSON ( Maybe Value ) Source # | |
Defined in Blockfrost.Lens jSONMetadata :: Lens' TxMetaJSON ( Maybe Value ) Source # |
class HasStake s a | s -> a where Source #
Instances
HasStake Network NetworkStake Source # | |
Defined in Blockfrost.Lens |
class HasSupply s a | s -> a where Source #
Instances
HasSupply Network NetworkSupply Source # | |
Defined in Blockfrost.Lens |
class HasActiveSize s a | s -> a where Source #
activeSize :: Lens' s a Source #
Instances
HasActiveSize PoolHistory Double Source # | |
Defined in Blockfrost.Lens |
|
HasActiveSize PoolInfo Double Source # | |
Defined in Blockfrost.Lens |
class HasBlocksMinted s a | s -> a where Source #
blocksMinted :: Lens' s a Source #
Instances
HasBlocksMinted PoolInfo Integer Source # | |
Defined in Blockfrost.Lens |
class HasDeclaredPledge s a | s -> a where Source #
declaredPledge :: Lens' s a Source #
Instances
a ~ Lovelaces => HasDeclaredPledge PoolInfo a Source # | |
Defined in Blockfrost.Lens declaredPledge :: Lens' PoolInfo a Source # |
class HasFixedCost s a | s -> a where Source #
Instances
a ~ Lovelaces => HasFixedCost PoolInfo a Source # | |
a ~ Lovelaces => HasFixedCost TransactionPoolUpdate a Source # | |
Defined in Blockfrost.Lens |
class HasLiveDelegators s a | s -> a where Source #
liveDelegators :: Lens' s a Source #
Instances
HasLiveDelegators PoolInfo Double Source # | |
Defined in Blockfrost.Lens |
class HasLivePledge s a | s -> a where Source #
livePledge :: Lens' s a Source #
Instances
a ~ Lovelaces => HasLivePledge PoolInfo a Source # | |
Defined in Blockfrost.Lens livePledge :: Lens' PoolInfo a Source # |
class HasLiveSaturation s a | s -> a where Source #
liveSaturation :: Lens' s a Source #
Instances
HasLiveSaturation PoolInfo Double Source # | |
Defined in Blockfrost.Lens |
class HasLiveSize s a | s -> a where Source #
class HasLiveStake s a | s -> a where Source #
Instances
a ~ Lovelaces => HasLiveStake PoolDelegator a Source # | |
Defined in Blockfrost.Lens liveStake :: Lens' PoolDelegator a Source # |
|
a ~ Lovelaces => HasLiveStake PoolInfo a Source # | |
class HasMarginCost s a | s -> a where Source #
marginCost :: Lens' s a Source #
Instances
HasMarginCost PoolInfo Double Source # | |
Defined in Blockfrost.Lens |
|
HasMarginCost TransactionPoolUpdate Double Source # | |
Defined in Blockfrost.Lens |
class HasRegistration s a | s -> a where Source #
registration :: Lens' s a Source #
Instances
HasRegistration TransactionStake Bool Source # | |
Defined in Blockfrost.Lens |
|
HasRegistration PoolInfo [ Text ] Source # | |
Defined in Blockfrost.Lens |
class HasRetirement s a | s -> a where Source #
retirement :: Lens' s a Source #
Instances
HasRetirement PoolInfo [ Text ] Source # | |
Defined in Blockfrost.Lens |
class HasBlocks s a | s -> a where Source #
Instances
HasBlocks PoolHistory Integer Source # | |
Defined in Blockfrost.Lens |
class HasDelegatorsCount s a | s -> a where Source #
delegatorsCount :: Lens' s a Source #
Instances
class HasRewards s a | s -> a where Source #
Instances
a ~ Lovelaces => HasRewards PoolHistory a Source # | |
Defined in Blockfrost.Lens rewards :: Lens' PoolHistory a Source # |
class HasHomepage s a | s -> a where Source #
Instances
HasHomepage PoolMetadata ( Maybe Text ) Source # | |
Defined in Blockfrost.Lens |
|
HasHomepage PoolUpdateMetadata ( Maybe Text ) Source # | |
Defined in Blockfrost.Lens |
class HasCertIndex s a | s -> a where Source #
Instances
HasCertIndex PoolUpdate Integer Source # | |
Defined in Blockfrost.Lens |
|
HasCertIndex TransactionPoolRetiring Integer Source # | |
Defined in Blockfrost.Lens |
|
HasCertIndex TransactionPoolUpdate Integer Source # | |
Defined in Blockfrost.Lens |
|
HasCertIndex TransactionMir Integer Source # | |
Defined in Blockfrost.Lens |
|
HasCertIndex TransactionDelegation Integer Source # | |
Defined in Blockfrost.Lens |
|
HasCertIndex TransactionStake Integer Source # | |
Defined in Blockfrost.Lens |
class HasAssetMintOrBurnCount s a | s -> a where Source #
assetMintOrBurnCount :: Lens' s a Source #
Instances
class HasDelegationCount s a | s -> a where Source #
delegationCount :: Lens' s a Source #
Instances
class HasDeposit s a | s -> a where Source #
Instances
a ~ Lovelaces => HasDeposit Transaction a Source # | |
Defined in Blockfrost.Lens deposit :: Lens' Transaction a Source # |
class HasIndex s a | s -> a where Source #
Instances
HasIndex Transaction Integer Source # | |
Defined in Blockfrost.Lens |
|
HasIndex BlockIndex ( Maybe Integer ) Source # | |
Defined in Blockfrost.Lens |
class HasInvalidBefore s a | s -> a where Source #
invalidBefore :: Lens' s a Source #
Instances
HasInvalidBefore Transaction ( Maybe Text ) Source # | |
Defined in Blockfrost.Lens invalidBefore :: Lens' Transaction ( Maybe Text ) Source # |
class HasInvalidHereafter s a | s -> a where Source #
invalidHereafter :: Lens' s a Source #
Instances
HasInvalidHereafter Transaction ( Maybe Text ) Source # | |
Defined in Blockfrost.Lens invalidHereafter :: Lens' Transaction ( Maybe Text ) Source # |
class HasMirCertCount s a | s -> a where Source #
mirCertCount :: Lens' s a Source #
Instances
HasMirCertCount Transaction Integer Source # | |
Defined in Blockfrost.Lens |
class HasOutputAmount s a | s -> a where Source #
outputAmount :: Lens' s a Source #
Instances
HasOutputAmount Transaction [ Amount ] Source # | |
Defined in Blockfrost.Lens outputAmount :: Lens' Transaction [ Amount ] Source # |
class HasPoolRetireCount s a | s -> a where Source #
poolRetireCount :: Lens' s a Source #
Instances
class HasPoolUpdateCount s a | s -> a where Source #
poolUpdateCount :: Lens' s a Source #
Instances
class HasRedeemerCount s a | s -> a where Source #
redeemerCount :: Lens' s a Source #
Instances
HasRedeemerCount Transaction Integer Source # | |
Defined in Blockfrost.Lens |
class HasUtxoCount s a | s -> a where Source #
Instances
HasUtxoCount Transaction Integer Source # | |
Defined in Blockfrost.Lens |
class HasValidContract s a | s -> a where Source #
validContract :: Lens' s a Source #
Instances
HasValidContract Transaction Bool Source # | |
Defined in Blockfrost.Lens |
class HasWithdrawalCount s a | s -> a where Source #
withdrawalCount :: Lens' s a Source #
Instances
class HasInputs s a | s -> a where Source #
Instances
HasInputs TransactionUtxos [ UtxoInput ] Source # | |
Defined in Blockfrost.Lens |
class HasOutputs s a | s -> a where Source #
Instances
HasOutputs TransactionUtxos [ UtxoOutput ] Source # | |
Defined in Blockfrost.Lens outputs :: Lens' TransactionUtxos [ UtxoOutput ] Source # |
class HasCollateral s a | s -> a where Source #
collateral :: Lens' s a Source #
Instances
HasCollateral UtxoInput Bool Source # | |
Defined in Blockfrost.Lens |
class HasPot s a | s -> a where Source #
Instances
HasPot TransactionMir Pot Source # | |
Defined in Blockfrost.Lens |
class HasPledge s a | s -> a where Source #
Instances
a ~ Lovelaces => HasPledge TransactionPoolUpdate a Source # | |
Defined in Blockfrost.Lens |
class HasRelays s a | s -> a where Source #
Instances
HasRelays TransactionPoolUpdate [ PoolRelay ] Source # | |
Defined in Blockfrost.Lens |
class HasDatumHash s a | s -> a where Source #
Instances
class HasFee s a | s -> a where Source #
Instances
a ~ Lovelaces => HasFee TransactionRedeemer a Source # | |
Defined in Blockfrost.Lens fee :: Lens' TransactionRedeemer a Source # |
class HasPurpose s a | s -> a where Source #
Instances
class HasUnitMem s a | s -> a where Source #
Instances
class HasUnitSteps s a | s -> a where Source #
Instances
class HasIpfsHash s a | s -> a where Source #
Instances
class HasTimeCreated s a | s -> a where Source #
timeCreated :: Lens' s a Source #
Instances
HasTimeCreated IPFSPin POSIXTime Source # | |
Defined in Blockfrost.Lens |
class HasTimePinned s a | s -> a where Source #
timePinned :: Lens' s a Source #
Instances
HasTimePinned IPFSPin POSIXTime Source # | |
Defined in Blockfrost.Lens |
class HasMetadataHash s a | s -> a where Source #
metadataHash :: Lens' s a Source #
Instances
HasMetadataHash NutlinkAddress Text Source # | |
Defined in Blockfrost.Lens |
class HasMetadataUrl s a | s -> a where Source #
metadataUrl :: Lens' s a Source #
Instances
HasMetadataUrl NutlinkAddress Text Source # | |
Defined in Blockfrost.Lens |
class HasPayload s a | s -> a where Source #
Instances
HasPayload NutlinkTicker Value Source # | |
Defined in Blockfrost.Lens |