State #
We use our small implementation of Tokens as tokens to model this module.
There are three different tokens, deposits, withdrawals, and transaction orders.
Since token names match l1_nonces from Cardano, they are unique.
And linkable to L1.
Generic datum structure. The structure itself change a bit from the initial spec to the current one. Deposits and Transaction Orders still have this format
Instances For
- event : DepositEvent
- inclusion_time : PosixTime
- witness : NHash
Instances For
@[reducible, inline]
Instances For
@[reducible, inline]
Instances For
- deposits : UTxO.UTxOMap α
- depositTokens : Tokens.State.Tokens Unit
Instances For
Equations
- Bridge.State.instEmptyCollectionEvents = { emptyCollection := { deposits := UTxO.UTxOMap.init, depositTokens := Tokens.State.Tokens.init } }
@[reducible, inline]
Instances For
@[reducible, inline]
Instances For
@[reducible, inline]
Instances For
- deposits : Deposits
- withdrawals : Withdrawals
- txOrders : TxOrders
Instances For
Instances For
Events #
- AuthDeposit : DepositActions
- BurnDeposit : DepositActions
- DepositSpend : DepositActions
Instances For
- Deposit : DepositActions → Actions
- Withdrawal : WithdrawalActions → Actions
- TxOrder : TxOrderActions → Actions