𝔸 : Service account. GP eq (9.3). A = ⟨s, p, l, f, c, b, g, m, i, r, a⟩
Contains code, storage, preimages, and gas configuration.
Constructor
Jar.ServiceAccount.mk
Fields
storage : Dict ByteArray ByteArray
s : Key-value storage. ⟨𝔹→𝔹⟩.
preimages : Dict Hash ByteArray
p : Preimage lookup. ⟨ℍ→𝔹⟩.
preimageInfo : Dict (Hash × Jar.BlobLength) (Array Jar.Timeslot)
l : Preimage request metadata. ⟨(ℍ, ℕ_L) → ⟦ℕ_T⟧_{:3}⟩.
gratis : Jar.Balance
f : Free (gratis) storage allowance. ℕ_B.
codeHash : Hash
c : Service code hash. ℍ.
balance : Jar.Balance
b : Account balance. ℕ_B.
minAccGas : Jar.Gas
g : Minimum accumulation gas. ℕ_G.
minOnTransferGas : Jar.Gas
m : Minimum on-transfer (memo) gas. ℕ_G.
itemCount : UInt32
a_i : Number of storage items. ℕ_I.
creationSlot : Jar.Timeslot
a_r : Creation timeslot. ℕ_T.
lastAccumulation : Jar.Timeslot
a_a : Most recent accumulation timeslot. ℕ_T.
parentServiceId : Nat
a_p : Parent service ID. ℕ_S.
totalFootprint : Nat
a_o : Total storage footprint in octets (computed). Preserved from serialized state.