02Sheet 02.03.024 · Entries

A SAC balance held by a contract above int64

The issuer mints 2^64 + 2^63 XPF to a contract.

FIG. · Where it sits · inside LedgerCloseMetaCAP-0046 · H-B4 · H-B3
SAC contract balance i128 above int64
token amount above int64 max

The shape

The issuer mints 2^64 + 2^63 XPF to a contract. Contract balances in a SAC are i128 with no int64 cap, unlike trustlines. Readers that store token balances as int64 overflow.

Variants

VariantProtocolNetworkSourceSizesha256
p30-mainnet-generatedP30mainnet passphrasegenerated by stellar-core v30.0.03,044 B6c7c4e4e092c…
p28-mainnet-generatedP28mainnet passphrasegenerated by stellar-core v30.0.03,036 Bf05a662d8bb8…
p30-testnet-generatedP30testnet passphrasegenerated by stellar-core v30.0.03,044 B42d3feb5cece…
p28-testnet-generatedP28testnet passphrasegenerated by stellar-core v30.0.03,036 Bd252407b9efa…

What a correct reader returns

A correct reader findsValueBacked by
The balance entry ["Balance", kit0] holds 27670116110564327424.
p30-mainnet-generated
some change where 2 fields matchconstructionsnapshotcorewalker
The balance entry ["Balance", kit0] holds 27670116110564327424.
p28-mainnet-generated
some change where 2 fields matchconstructionsnapshotcorewalker
The balance entry ["Balance", kit0] holds 27670116110564327424.
p30-testnet-generated
some change where 2 fields matchconstructionsnapshotcorewalker
The balance entry ["Balance", kit0] holds 27670116110564327424.
p28-testnet-generated
some change where 2 fields matchconstructionsnapshotcorewalker
The mint event carries the same amount.some change where 2 fields matchconstructionsnapshotcorewalker

Check it yourself

make verify   # schema, hashes, the byte-for-byte round trip and every fact above
make oracle   # the facts' values, re-read by stellar-core and the schema walker

Entry id sac.contract-balance-above-int64 · compiled from catalog/sac.contract-balance-above-int64.json · entry.json

On this page