Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module contains various types which are used in octez-node
RPC API.
Documentation for RPC API can be found e. g. here (010 is the protocol, change to the desired one).
Note that errors are reported a bit inconsistently by RPC. For more information see this question and this issue.
Synopsis
- data AppliedResult = AppliedResult {
- arConsumedMilliGas :: TezosInt64
- arStorageSize :: TezosInt64
- arPaidStorageDiff :: TezosInt64
- arOriginatedContracts :: [ContractAddress]
- arAllocatedDestinationContracts :: TezosInt64
- data BlockConstants = BlockConstants {}
- newtype BlockHash = BlockHash {
- unBlockHash :: Text
- data BlockHeaderNoHash = BlockHeaderNoHash {}
- data BlockHeader = BlockHeader {}
- data FeeConstants = FeeConstants {
- fcBase :: Mutez
- fcMutezPerGas :: Milli
- fcMutezPerOpByte :: Milli
- data BlockId
- data BlockOperation = BlockOperation {}
- data CommonOperationData = CommonOperationData {
- codSource :: ImplicitAddress
- codFee :: TezosMutez
- codCounter :: TezosInt64
- codGasLimit :: TezosInt64
- codStorageLimit :: TezosInt64
- data DelegationOperation = DelegationOperation {
- doDelegate :: Maybe KeyHash
- data ForgeOperation = ForgeOperation {}
- data GetBigMap = GetBigMap {}
- data CalcSize = CalcSize {}
- newtype ScriptSize = ScriptSize {}
- data GetBigMapResult
- = GetBigMapResult Expression
- | GetBigMapNotFound
- data InternalOperation = InternalOperation {}
- data InternalOperationData
- data IntOpEvent = IntOpEvent {}
- newtype OperationContent = OperationContent {}
- newtype OperationHash = OperationHash {}
- type OperationInput = WithCommonOperationData (OperationInfo RPCInput)
- data OperationResp
- data OperationRespWithMeta = OperationRespWithMeta {}
- newtype OperationMetadata = OperationMetadata {}
- data OperationResult
- data OriginationOperation = OriginationOperation {
- ooBalance :: TezosMutez
- ooDelegate :: Maybe KeyHash
- ooScript :: OriginationScript
- data OriginationScript = OriginationScript {}
- data ParametersInternal = ParametersInternal {
- piEntrypoint :: Text
- piValue :: Expression
- data PreApplyOperation = PreApplyOperation {
- paoProtocol :: Text
- paoBranch :: BlockHash
- paoContents :: NonEmpty OperationInput
- paoSignature :: Signature
- data ProtocolParameters = ProtocolParameters {
- ppOriginationSize :: Int
- ppHardGasLimitPerOperation :: TezosInt64
- ppHardStorageLimitPerOperation :: TezosInt64
- ppMinimalBlockDelay :: TezosNat
- ppCostPerByte :: TezosMutez
- ppHardGasLimitPerBlock :: TezosInt64
- data RevealOperation = RevealOperation {
- roPublicKey :: PublicKey
- data RunCode = RunCode {}
- data RunCodeResult = RunCodeResult {
- rcrStorage :: Expression
- data RunMetadata = RunMetadata {}
- data RunOperation = RunOperation {}
- data RunOperationInternal = RunOperationInternal {
- roiBranch :: BlockHash
- roiContents :: NonEmpty OperationInput
- roiSignature :: Signature
- data RunOperationResult = RunOperationResult {}
- data RPCInput
- data TransactionOperation = TransactionOperation {
- toAmount :: TezosMutez
- toDestination :: Address
- toParameters :: ParametersInternal
- data WithCommonOperationData a = WithCommonOperationData {}
- data MonitorHeadsStep a
- mkCommonOperationData :: ProtocolParameters -> ("sender" :! ImplicitAddress) -> ("counter" :! TezosInt64) -> ("num_operations" :? Int64) -> CommonOperationData
- data RunError
- = RuntimeError ContractAddress
- | ScriptRejected Expression
- | BadContractParameter Address
- | InvalidConstant Expression Expression
- | InvalidContract Address
- | InconsistentTypes Expression Expression
- | InvalidPrimitive [Text] Text
- | InvalidSyntacticConstantError Expression Expression
- | InvalidExpressionKind [Text] Text
- | InvalidContractNotation Text
- | UnexpectedContract
- | IllFormedType Expression
- | UnexpectedOperation
- | REEmptyTransaction ImplicitAddress
- | ScriptOverflow
- | GasExhaustedOperation
- | MutezAdditionOverflow [TezosInt64]
- | MutezSubtractionUnderflow [TezosInt64]
- | MutezMultiplicationOverflow TezosInt64 TezosInt64
- | CantPayStorageFee
- | BalanceTooLow ("balance" :! Mutez) ("required" :! Mutez)
- | PreviouslyRevealedKey ImplicitAddress
- | NonExistingContract Address
- | InvalidB58Check Text
- | UnregisteredDelegate ImplicitAddress
- | FailedUnDelegation ImplicitAddress
- | DelegateAlreadyActive
- | IllTypedContract Expression
- | IllTypedData Expression Expression
- | BadStack BadStackInformation
- | ForbiddenZeroAmountTicket
- data InternalError
- = CounterInThePast ImplicitAddress ("expected" :! Word) ("found" :! Word)
- | UnrevealedKey ImplicitAddress
- | Failure Text
- _RuntimeError :: Prism' RunError ContractAddress
- _ScriptRejected :: Prism' RunError Expression
- _BadContractParameter :: Prism' RunError Address
- _InvalidConstant :: Prism' RunError (Expression, Expression)
- _InconsistentTypes :: Prism' RunError (Expression, Expression)
- _InvalidPrimitive :: Prism' RunError ([Text], Text)
- _InvalidSyntacticConstantError :: Prism' RunError (Expression, Expression)
- _InvalidExpressionKind :: Prism' RunError ([Text], Text)
- _InvalidContractNotation :: Prism' RunError Text
- _UnexpectedContract :: Prism' RunError ()
- _IllFormedType :: Prism' RunError Expression
- _UnexpectedOperation :: Prism' RunError ()
- _REEmptyTransaction :: Prism' RunError ImplicitAddress
- _ScriptOverflow :: Prism' RunError ()
- _PreviouslyRevealedKey :: Prism' RunError ImplicitAddress
- _GasExhaustedOperation :: Prism' RunError ()
- _UnregisteredDelegate :: Prism' RunError ImplicitAddress
- wcoCommonDataL :: Lens' (WithCommonOperationData a) CommonOperationData
Documentation
data AppliedResult Source #
AppliedResult | |
|
Instances
Monoid AppliedResult Source # | |
Defined in Morley.Client.RPC.Types mempty :: AppliedResult # mappend :: AppliedResult -> AppliedResult -> AppliedResult # mconcat :: [AppliedResult] -> AppliedResult # | |
Semigroup AppliedResult Source # | |
Defined in Morley.Client.RPC.Types (<>) :: AppliedResult -> AppliedResult -> AppliedResult # sconcat :: NonEmpty AppliedResult -> AppliedResult # stimes :: Integral b => b -> AppliedResult -> AppliedResult # | |
Show AppliedResult Source # | |
Defined in Morley.Client.RPC.Types showsPrec :: Int -> AppliedResult -> ShowS # show :: AppliedResult -> String # showList :: [AppliedResult] -> ShowS # |
data BlockConstants Source #
BlockConstants | |
|
Instances
FromJSON BlockConstants Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser BlockConstants # parseJSONList :: Value -> Parser [BlockConstants] # |
Instances
FromJSON BlockHash Source # | |
ToJSON BlockHash Source # | |
Defined in Morley.Client.RPC.Types | |
Show BlockHash Source # | |
Buildable BlockHash Source # | |
Defined in Morley.Client.RPC.Types | |
Eq BlockHash Source # | |
Ord BlockHash Source # | |
Defined in Morley.Client.RPC.Types | |
ToHttpApiData BlockHash Source # | |
Defined in Morley.Client.RPC.Types toUrlPiece :: BlockHash -> Text # toEncodedUrlPiece :: BlockHash -> Builder # toHeader :: BlockHash -> ByteString # toQueryParam :: BlockHash -> Text # |
data BlockHeaderNoHash Source #
Instances
FromJSON BlockHeaderNoHash Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser BlockHeaderNoHash # parseJSONList :: Value -> Parser [BlockHeaderNoHash] # |
data BlockHeader Source #
The whole block header.
BlockHeader | |
|
Instances
FromJSON BlockHeader Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser BlockHeader # parseJSONList :: Value -> Parser [BlockHeader] # | |
ToJSON BlockHeader Source # | |
Defined in Morley.Client.RPC.Types toJSON :: BlockHeader -> Value # toEncoding :: BlockHeader -> Encoding # toJSONList :: [BlockHeader] -> Value # toEncodingList :: [BlockHeader] -> Encoding # |
data FeeConstants Source #
FeeConstants | |
|
Instances
Default FeeConstants Source # | At the moment of writing, Tezos always uses these constants. |
Defined in Morley.Client.RPC.Types def :: FeeConstants # |
A block identifier as submitted to RPC.
A block can be referenced by head
, genesis
, level or block hash
HeadId | Identifier referring to the head block. |
FinalHeadId | Identifier of the most recent block guaranteed to have been finalized. See: https://web.archive.org/web/20220305165609/https://tezos.gitlab.io/protocols/tenderbake.html#operations |
GenesisId | Identifier referring to the genesis block. |
LevelId Natural | Identifier referring to a block by its level. |
BlockHashId BlockHash | Idenfitier referring to a block by its hash in Base58Check notation. |
AtDepthId Natural | Identifier of a block at specific depth relative to |
Instances
Show BlockId Source # | |
Buildable BlockId Source # | |
Defined in Morley.Client.RPC.Types | |
Eq BlockId Source # | |
ToHttpApiData BlockId Source # | |
Defined in Morley.Client.RPC.Types toUrlPiece :: BlockId -> Text # toEncodedUrlPiece :: BlockId -> Builder # toHeader :: BlockId -> ByteString # toQueryParam :: BlockId -> Text # | |
HasCLReader BlockId Source # | |
Defined in Morley.Client.RPC.Types |
data BlockOperation Source #
$operation
in Tezos docs.
Instances
FromJSON BlockOperation Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser BlockOperation # parseJSONList :: Value -> Parser [BlockOperation] # |
data CommonOperationData Source #
Data that is common for transaction and origination operations.
CommonOperationData | |
|
Instances
FromJSON CommonOperationData Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser CommonOperationData # parseJSONList :: Value -> Parser [CommonOperationData] # | |
ToJSON CommonOperationData Source # | |
Defined in Morley.Client.RPC.Types toJSON :: CommonOperationData -> Value # toEncoding :: CommonOperationData -> Encoding # toJSONList :: [CommonOperationData] -> Value # toEncodingList :: [CommonOperationData] -> Encoding # |
data DelegationOperation Source #
DelegationOperation | |
|
Instances
ToJSON DelegationOperation Source # | |
Defined in Morley.Client.RPC.Types toJSON :: DelegationOperation -> Value # toEncoding :: DelegationOperation -> Encoding # toJSONList :: [DelegationOperation] -> Value # toEncodingList :: [DelegationOperation] -> Encoding # | |
ToJSONObject DelegationOperation Source # | |
Defined in Morley.Client.RPC.Types |
data ForgeOperation Source #
Instances
ToJSON ForgeOperation Source # | |
Defined in Morley.Client.RPC.Types toJSON :: ForgeOperation -> Value # toEncoding :: ForgeOperation -> Encoding # toJSONList :: [ForgeOperation] -> Value # toEncodingList :: [ForgeOperation] -> Encoding # |
newtype ScriptSize Source #
Instances
FromJSON ScriptSize Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser ScriptSize # parseJSONList :: Value -> Parser [ScriptSize] # |
data GetBigMapResult Source #
GetBigMapResult Expression | |
GetBigMapNotFound |
Instances
FromJSON GetBigMapResult Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser GetBigMapResult # parseJSONList :: Value -> Parser [GetBigMapResult] # |
data InternalOperation Source #
Instances
FromJSON InternalOperation Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser InternalOperation # parseJSONList :: Value -> Parser [InternalOperation] # |
data InternalOperationData Source #
Instances
FromJSON InternalOperationData Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser InternalOperationData # parseJSONList :: Value -> Parser [InternalOperationData] # |
data IntOpEvent Source #
Instances
FromJSON IntOpEvent Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser IntOpEvent # parseJSONList :: Value -> Parser [IntOpEvent] # | |
Buildable IntOpEvent Source # | |
Defined in Morley.Client.RPC.Types build :: IntOpEvent -> Builder # |
newtype OperationContent Source #
Instances
FromJSON OperationContent Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser OperationContent # parseJSONList :: Value -> Parser [OperationContent] # |
newtype OperationHash Source #
Instances
FromJSON OperationHash Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser OperationHash # parseJSONList :: Value -> Parser [OperationHash] # | |
Show OperationHash Source # | |
Defined in Morley.Client.RPC.Types showsPrec :: Int -> OperationHash -> ShowS # show :: OperationHash -> String # showList :: [OperationHash] -> ShowS # | |
Buildable OperationHash Source # | |
Defined in Morley.Client.RPC.Types build :: OperationHash -> Builder # | |
Eq OperationHash Source # | |
Defined in Morley.Client.RPC.Types (==) :: OperationHash -> OperationHash -> Bool # (/=) :: OperationHash -> OperationHash -> Bool # | |
CmdArg OperationHash Source # | |
Defined in Morley.Client.TezosClient.Types toCmdArg :: OperationHash -> String Source # |
data OperationResp Source #
Contents of an operation that can appear in RPC responses.
TransactionOpResp (WithCommonOperationData TransactionOperation) | Operation with kind |
OtherOpResp | Operation with kind that we don't support yet (but need to parse to something). |
Instances
FromJSON OperationResp Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser OperationResp # parseJSONList :: Value -> Parser [OperationResp] # |
data OperationRespWithMeta Source #
Instances
FromJSON OperationRespWithMeta Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser OperationRespWithMeta # parseJSONList :: Value -> Parser [OperationRespWithMeta] # |
newtype OperationMetadata Source #
Instances
FromJSON OperationMetadata Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser OperationMetadata # parseJSONList :: Value -> Parser [OperationMetadata] # |
data OperationResult Source #
Instances
FromJSON OperationResult Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser OperationResult # parseJSONList :: Value -> Parser [OperationResult] # |
data OriginationOperation Source #
All the data needed to perform contract origination through Tezos RPC interface
OriginationOperation | |
|
Instances
ToJSON OriginationOperation Source # | |
Defined in Morley.Client.RPC.Types toJSON :: OriginationOperation -> Value # toEncoding :: OriginationOperation -> Encoding # toJSONList :: [OriginationOperation] -> Value # toEncodingList :: [OriginationOperation] -> Encoding # | |
ToJSONObject OriginationOperation Source # | |
Defined in Morley.Client.RPC.Types |
data OriginationScript Source #
Instances
FromJSON OriginationScript Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser OriginationScript # parseJSONList :: Value -> Parser [OriginationScript] # | |
ToJSON OriginationScript Source # | |
Defined in Morley.Client.RPC.Types toJSON :: OriginationScript -> Value # toEncoding :: OriginationScript -> Encoding # toJSONList :: [OriginationScript] -> Value # toEncodingList :: [OriginationScript] -> Encoding # |
data ParametersInternal Source #
ParametersInternal | |
|
Instances
FromJSON ParametersInternal Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser ParametersInternal # parseJSONList :: Value -> Parser [ParametersInternal] # | |
ToJSON ParametersInternal Source # | |
Defined in Morley.Client.RPC.Types toJSON :: ParametersInternal -> Value # toEncoding :: ParametersInternal -> Encoding # toJSONList :: [ParametersInternal] -> Value # toEncodingList :: [ParametersInternal] -> Encoding # |
data PreApplyOperation Source #
PreApplyOperation | |
|
Instances
ToJSON PreApplyOperation Source # | |
Defined in Morley.Client.RPC.Types toJSON :: PreApplyOperation -> Value # toEncoding :: PreApplyOperation -> Encoding # toJSONList :: [PreApplyOperation] -> Value # toEncodingList :: [PreApplyOperation] -> Encoding # |
data ProtocolParameters Source #
Protocol-wide constants.
There are more constants, but currently, we are using only these in our code.
ProtocolParameters | |
|
Instances
FromJSON ProtocolParameters Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser ProtocolParameters # parseJSONList :: Value -> Parser [ProtocolParameters] # |
data RevealOperation Source #
All the data needed to perform key revealing through Tezos RPC interface
RevealOperation | |
|
Instances
ToJSON RevealOperation Source # | |
Defined in Morley.Client.RPC.Types toJSON :: RevealOperation -> Value # toEncoding :: RevealOperation -> Encoding # toJSONList :: [RevealOperation] -> Value # toEncodingList :: [RevealOperation] -> Encoding # | |
ToJSONObject RevealOperation Source # | |
Defined in Morley.Client.RPC.Types |
Data required for calling run_code
RPC endpoint.
data RunCodeResult Source #
Result storage of run_code
RPC endpoint call.
Actual resulting JSON has more contents, but currently we're interested only in resulting storage.
RunCodeResult | |
|
Instances
FromJSON RunCodeResult Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser RunCodeResult # parseJSONList :: Value -> Parser [RunCodeResult] # |
data RunMetadata Source #
Instances
FromJSON RunMetadata Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser RunMetadata # parseJSONList :: Value -> Parser [RunMetadata] # |
data RunOperation Source #
Instances
ToJSON RunOperation Source # | |
Defined in Morley.Client.RPC.Types toJSON :: RunOperation -> Value # toEncoding :: RunOperation -> Encoding # toJSONList :: [RunOperation] -> Value # toEncodingList :: [RunOperation] -> Encoding # |
data RunOperationInternal Source #
RunOperationInternal | |
|
Instances
ToJSON RunOperationInternal Source # | |
Defined in Morley.Client.RPC.Types toJSON :: RunOperationInternal -> Value # toEncoding :: RunOperationInternal -> Encoding # toJSONList :: [RunOperationInternal] -> Value # toEncodingList :: [RunOperationInternal] -> Encoding # |
data RunOperationResult Source #
Instances
FromJSON RunOperationResult Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser RunOperationResult # parseJSONList :: Value -> Parser [RunOperationResult] # |
Designates an input RPC data that we supply to perform an operation.
Instances
OperationInfoDescriptor RPCInput Source # | |
Defined in Morley.Client.RPC.Types type TransferInfo RPCInput Source # type OriginationInfo RPCInput Source # type RevealInfo RPCInput Source # type DelegationInfo RPCInput Source # | |
type DelegationInfo RPCInput Source # | |
Defined in Morley.Client.RPC.Types | |
type OriginationInfo RPCInput Source # | |
Defined in Morley.Client.RPC.Types | |
type RevealInfo RPCInput Source # | |
Defined in Morley.Client.RPC.Types | |
type TransferInfo RPCInput Source # | |
Defined in Morley.Client.RPC.Types |
data TransactionOperation Source #
All the data needed to perform a transaction through Tezos RPC interface. For additional information, please refer to RPC documentation http://tezos.gitlab.io/api/rpc.html
TransactionOperation | |
|
Instances
FromJSON TransactionOperation Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser TransactionOperation # parseJSONList :: Value -> Parser [TransactionOperation] # | |
ToJSON TransactionOperation Source # | |
Defined in Morley.Client.RPC.Types toJSON :: TransactionOperation -> Value # toEncoding :: TransactionOperation -> Encoding # toJSONList :: [TransactionOperation] -> Value # toEncodingList :: [TransactionOperation] -> Encoding # | |
ToJSONObject TransactionOperation Source # | |
Defined in Morley.Client.RPC.Types |
data WithCommonOperationData a Source #
Some operation data accompanied with common data.
Instances
FromJSON a => FromJSON (WithCommonOperationData a) Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser (WithCommonOperationData a) # parseJSONList :: Value -> Parser [WithCommonOperationData a] # | |
ToJSONObject a => ToJSON (WithCommonOperationData a) Source # | |
Defined in Morley.Client.RPC.Types toJSON :: WithCommonOperationData a -> Value # toEncoding :: WithCommonOperationData a -> Encoding # toJSONList :: [WithCommonOperationData a] -> Value # toEncodingList :: [WithCommonOperationData a] -> Encoding # |
mkCommonOperationData :: ProtocolParameters -> ("sender" :! ImplicitAddress) -> ("counter" :! TezosInt64) -> ("num_operations" :? Int64) -> CommonOperationData Source #
Create CommonOperationData
based on current blockchain protocol parameters
and sender info. This data is used for operation simulation.
num_operations
parameter can be used for smarter gas limit estimation. If
Nothing
, the gas limit is set to ppHardGasLimitPerOperation
, but that
puts a hard low limit on the number of operations that will fit into one
batch. If num_operations
is set, then gas limit is estimated as
\[ \mathrm{min}\left(\mathbf{hard\_gas\_limit\_per\_operation}, \left\lceil \frac{\mathbf{hard\_gas\_limit\_per\_block}} {num\_operations}\right\rceil\right) \]
This works well enough for the case of many small operations, but will break
when there is one big one and a lot of small ones. That said, specifying
num_operations
will work in all cases where not specifying it would, and
then some, so it's recommended to specify it whenever possible.
num_operations
is assumed to be greater than 0
, otherwise it'll be
silently ignored.
Fee isn't accounted during operation simulation, so it's safe to use zero amount.
Real operation fee is calculated later using octez-client
.
Errors
Errors that are sent as part of operation result in an OK response (status 200). They are semi-formally defined as errors that can happen when a contract is executed and something goes wrong.
data InternalError Source #
Errors that are sent as part of an "Internal Server Error" response (HTTP code 500).
We call them internal because of the HTTP code, but we shouldn't treat them as internal. They can be easily triggered by making a failing operation.
CounterInThePast | An operation assumed a contract counter in the past. |
UnrevealedKey | One tried to apply a manager operation without revealing the manager public key. |
| |
Failure Text | Failure reported without specific id |
Instances
FromJSON InternalError Source # | |
Defined in Morley.Client.RPC.Types parseJSON :: Value -> Parser InternalError # parseJSONList :: Value -> Parser [InternalError] # | |
Show InternalError Source # | |
Defined in Morley.Client.RPC.Types showsPrec :: Int -> InternalError -> ShowS # show :: InternalError -> String # showList :: [InternalError] -> ShowS # | |
Buildable InternalError Source # | |
Defined in Morley.Client.RPC.Types build :: InternalError -> Builder # |
Prisms
_RuntimeError :: Prism' RunError ContractAddress Source #
_ScriptRejected :: Prism' RunError Expression Source #
_BadContractParameter :: Prism' RunError Address Source #
_InvalidConstant :: Prism' RunError (Expression, Expression) Source #
_InconsistentTypes :: Prism' RunError (Expression, Expression) Source #
_InvalidSyntacticConstantError :: Prism' RunError (Expression, Expression) Source #
_UnexpectedContract :: Prism' RunError () Source #
_IllFormedType :: Prism' RunError Expression Source #
_REEmptyTransaction :: Prism' RunError ImplicitAddress Source #
_ScriptOverflow :: Prism' RunError () Source #
_PreviouslyRevealedKey :: Prism' RunError ImplicitAddress Source #
_UnregisteredDelegate :: Prism' RunError ImplicitAddress Source #