pub async fn run_insert<C: QueryLedgerState + QueryNetwork + Transactions + QueryUtxoByUtxoId, A: AwaitTx>(
genesis_utxo: UtxoId,
key: String,
value: ByteString,
payment_signing_key: &CardanoPaymentSigningKey,
ogmios_client: &C,
await_tx: &A,
) -> Result<Option<MultiSigSmartContractResult>>
Expand description
Inserts an entry into the governed map.
If the key
is already set to the provided value
a transaction is not submitted and the operation succeeds.
Else if the key
is already set, the operation fails.