mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
26 lines
1.8 KiB
Plaintext
26 lines
1.8 KiB
Plaintext
{
|
|
sstore(0, not(0))
|
|
sstore(1, not(not(0)))
|
|
sstore(2, not(0xffffffffffffffff))
|
|
sstore(3, not(0xffffffffffffffffff00000000000000))
|
|
sstore(4, not(0xffffffffffffffffff00000000000000ffffffffffffffff))
|
|
sstore(5, not(0xffffffffffffffffff00000000000000ffffffffffffffff0000000000000000))
|
|
sstore(6, not(0xaaaaaaaaaaaaaa555555555555555555aa5555555555555aa555555555555555))
|
|
sstore(7, not(0x5555555555550000aaaaaaaaaaaaaa000000aaaaaaaaa000000aaaaaaaaaaaaa))
|
|
sstore(8, not(0xaaaaaaaaaaaaaa555555555555555555aa5555555555555aa555555555555555))
|
|
}
|
|
// ----
|
|
// Trace:
|
|
// Memory dump:
|
|
// 0: 0000000000000000000000000000000000000000000000000000000000000008
|
|
// 20: 55555555555555aaaaaaaaaaaaaaaaaa55aaaaaaaaaaaaa55aaaaaaaaaaaaaaa
|
|
// Storage dump:
|
|
// 0000000000000000000000000000000000000000000000000000000000000000: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
// 0000000000000000000000000000000000000000000000000000000000000002: ffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000
|
|
// 0000000000000000000000000000000000000000000000000000000000000003: ffffffffffffffffffffffffffffffff000000000000000000ffffffffffffff
|
|
// 0000000000000000000000000000000000000000000000000000000000000004: ffffffffffffffff000000000000000000ffffffffffffff0000000000000000
|
|
// 0000000000000000000000000000000000000000000000000000000000000005: 000000000000000000ffffffffffffff0000000000000000ffffffffffffffff
|
|
// 0000000000000000000000000000000000000000000000000000000000000006: 55555555555555aaaaaaaaaaaaaaaaaa55aaaaaaaaaaaaa55aaaaaaaaaaaaaaa
|
|
// 0000000000000000000000000000000000000000000000000000000000000007: aaaaaaaaaaaaffff55555555555555ffffff555555555ffffff5555555555555
|
|
// 0000000000000000000000000000000000000000000000000000000000000008: 55555555555555aaaaaaaaaaaaaaaaaa55aaaaaaaaaaaaa55aaaaaaaaaaaaaaa
|