- Support of extended keys in
runGYTxMonadIO
. - Don't throw error for querying DRep state in case of Maestro/BF provider.
- When spending an input, datum is now optional since it is not required to be specified in case it's inlined or not needed by associated Plutus script.
- Add combined stake address registration and delegation certificate.
- Note that there has been large internal refactoring inside this update, but these are mostly non breaking as we provide pattern & type synonyms to keep earlier behavior. In particular:
- We define a new type
GYKeyHash kr
and all other key hashes such asGYPaymentKeyHash
,GYStakePoolId
are type synonyms around it. - We define a new type
GYCredential kr
and all other credentials such asGYPaymentCredential
are type synonyms around it. - Likewise types
GYSigningKey kr
,GYVerificationKey kr
,GYExtendedSigningKey kr
are newly introduced and previous relevant key types likeGYPaymentSigningKey
are simply type synonyms.
- We define a new type
- Constructor of
GYPubKeyHash
is no longer exported. readSomeSigningKey
is removed.- Adds additional certificates such as those related to governance, drep participation, stake pool registration, etc.
- Tracks node version 10.1.3 and corresponding updated CLB version.
- Update default value of
GYAwaitTxParameters
to now have 100 max attempts. GYInScript
andGYStakeValScript
are now defined as a type synonyms aroundGYBuildPlutusScript
whereasGYMintScript
is a type synonym aroundGYBuildScript
which now also includes simple scripts (besides plutus scripts). Pattern synonyms are provided for backwards compatibility. These and related functions such asstakeValidatorVersionFromWitness
,gyStakeValScriptToSerialisedScript
are now exported fromGeniusYield.Types.BuildScript
instead ofGeniusYield.Types.Script
.GYTxWdrlWitness
,GYTxCertWitness
are now defined as a type synonyms around genericGYTxBuildWitness
and now also includes simple scripts. Pattern synonyms are provided to maintain backwards compatibility.- Adds support for governance actions, namely proposal procedures & voting procedures.
- Era histories are now cached through entire run of the program whereas protocol parameters are fetched once per epoch. In case you were utilising era summary given by Atlas, note that era end of last era is now set to being unbounded.
- Bug fix for our caching mechanism, see PR #370 for more details.
- We no longer fetch registered stake pools as it is not required.
- Added utility functions to do slot to epoch related conversations.
addRefScript
now accepts for scripts that has version greater than or equal toPlutusV2
.
- Avoid dependency upon
cardano-balance-tx:internal
. See #368 for more details.
- Give
Eq
,Semigroup
,Monoid
instance forGYTxWitness
. - Adds
valueAlter
utility function insideGeniusYield.Types.Value
module.