Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
DEAD(σ, a). Section 4.1., equation 15.
Equations
- EvmYul.State.dead σ addr = Option.option (decide True) EvmYul.Account.emptyAccount (Batteries.RBMap.find? σ addr)
Instances For
Equations
- self.accountExists addr = (Batteries.RBMap.find? self.accountMap addr).isSome
Instances For
Equations
- self.lookupAccount addr = Batteries.RBMap.find? self.accountMap addr
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- self.setSelfAccount acc = self.setAccount self.executionEnv.codeOwner acc
Instances For
Equations
- self.updateAccount! addr f = self.setAccount addr (f ((self.lookupAccount addr).getD default))
Instances For
Equations
- self.updateSelfAccount! = self.updateAccount! self.executionEnv.codeOwner
Instances For
Equations
- EvmYul.State.initialiseAccount addr self = if self.accountExists addr = true then self else EvmYul.State.updateAccount addr default self
Instances For
Equations
- self.calldataload v = EvmYul.uInt256OfByteArray (self.executionEnv.inputData.readBytes v.toNat 32)
Instances For
Equations
- self.setNonce! addr nonce = self.updateAccount! addr fun (acc : EvmYul.Account) => { nonce := nonce, balance := acc.balance, storage := acc.storage, code := acc.code, tstorage := acc.tstorage }
Instances For
Equations
- self.setSelfNonce! nonce = self.setNonce! self.executionEnv.codeOwner nonce
Instances For
Equations
- self.selfStorage! = ((self.lookupAccount self.executionEnv.codeOwner).getD default).storage
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- self.coinBase = self.executionEnv.header.beneficiary
Instances For
Equations
- self.timeStamp = EvmYul.UInt256.ofNat self.executionEnv.header.timestamp
Instances For
Equations
- self.number = EvmYul.UInt256.ofNat self.executionEnv.header.number
Instances For
Equations
- self.difficulty = EvmYul.UInt256.ofNat self.executionEnv.header.difficulty
Instances For
Equations
- self.gasLimit = EvmYul.UInt256.ofNat self.executionEnv.header.gasLimit
Instances For
Equations
Instances For
Equations
- self.selfbalance = (Batteries.RBMap.find? self.accountMap self.executionEnv.codeOwner).elim { val := 0 } fun (x : EvmYul.Account) => x.balance
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- self.setStorage! addr strg = self.updateAccount! addr fun (acc : EvmYul.Account) => { nonce := acc.nonce, balance := acc.balance, storage := strg, code := acc.code, tstorage := acc.tstorage }
Instances For
Equations
- self.setSelfStorage! = self.setStorage! self.executionEnv.codeOwner
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- self.tload spos = (self, Option.option { val := 0 } (fun (self : EvmYul.Account) => self.lookupTransientStorage spos) (self.lookupAccount self.executionEnv.codeOwner))
Instances For
Equations
- One or more equations did not get rendered due to their size.