Skip to content

Commit 84db403

Browse files
committed
add value to execute params on session module
1 parent dec3dca commit 84db403

4 files changed

Lines changed: 494 additions & 48 deletions

File tree

.openzeppelin/sonic.json

Lines changed: 353 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155773,6 +155773,359 @@
155773155773
]
155774155774
}
155775155775
}
155776+
},
155777+
"9280dbee782cb5f01b1d139939c3c74a6b8dc835a8bbbff6a4a1c5d133d28247": {
155778+
"address": "0x3aEaB90Ab3fE8Ab9Bf19f3a69eC1A1a80E1E3911",
155779+
"txHash": "0x314d06738cc5c1f937fd8a1225ca8ef62f14866738f44f5a6b276d25b93490e1",
155780+
"layout": {
155781+
"solcVersion": "0.8.28",
155782+
"storage": [
155783+
{
155784+
"label": "_registry",
155785+
"offset": 0,
155786+
"slot": "0",
155787+
"type": "t_contract(IGameSubsidisationRegistry)7813",
155788+
"contract": "UsageBasedSessionModule",
155789+
"src": "contracts\\Session\\UsageBasedSessionModule.sol:78"
155790+
},
155791+
{
155792+
"label": "_sessions",
155793+
"offset": 0,
155794+
"slot": "1",
155795+
"type": "t_mapping(t_address,t_struct(Session)6717_storage)",
155796+
"contract": "UsageBasedSessionModule",
155797+
"src": "contracts\\Session\\UsageBasedSessionModule.sol:79"
155798+
},
155799+
{
155800+
"label": "_usage",
155801+
"offset": 0,
155802+
"slot": "2",
155803+
"type": "t_mapping(t_address,t_struct(UserUsage)6708_storage)",
155804+
"contract": "UsageBasedSessionModule",
155805+
"src": "contracts\\Session\\UsageBasedSessionModule.sol:80"
155806+
},
155807+
{
155808+
"label": "_whitelistedSigners",
155809+
"offset": 0,
155810+
"slot": "3",
155811+
"type": "t_mapping(t_address,t_bool)",
155812+
"contract": "UsageBasedSessionModule",
155813+
"src": "contracts\\Session\\UsageBasedSessionModule.sol:81"
155814+
},
155815+
{
155816+
"label": "_gasOverhead",
155817+
"offset": 0,
155818+
"slot": "4",
155819+
"type": "t_uint256",
155820+
"contract": "UsageBasedSessionModule",
155821+
"src": "contracts\\Session\\UsageBasedSessionModule.sol:82"
155822+
},
155823+
{
155824+
"label": "_sessionOpsPerDay",
155825+
"offset": 0,
155826+
"slot": "5",
155827+
"type": "t_uint16",
155828+
"contract": "UsageBasedSessionModule",
155829+
"src": "contracts\\Session\\UsageBasedSessionModule.sol:83"
155830+
}
155831+
],
155832+
"types": {
155833+
"t_address": {
155834+
"label": "address",
155835+
"numberOfBytes": "20"
155836+
},
155837+
"t_bool": {
155838+
"label": "bool",
155839+
"numberOfBytes": "1"
155840+
},
155841+
"t_bytes32": {
155842+
"label": "bytes32",
155843+
"numberOfBytes": "32"
155844+
},
155845+
"t_string_storage": {
155846+
"label": "string",
155847+
"numberOfBytes": "32"
155848+
},
155849+
"t_struct(EIP712Storage)346_storage": {
155850+
"label": "struct EIP712Upgradeable.EIP712Storage",
155851+
"members": [
155852+
{
155853+
"label": "_hashedName",
155854+
"type": "t_bytes32",
155855+
"offset": 0,
155856+
"slot": "0"
155857+
},
155858+
{
155859+
"label": "_hashedVersion",
155860+
"type": "t_bytes32",
155861+
"offset": 0,
155862+
"slot": "1"
155863+
},
155864+
{
155865+
"label": "_name",
155866+
"type": "t_string_storage",
155867+
"offset": 0,
155868+
"slot": "2"
155869+
},
155870+
{
155871+
"label": "_version",
155872+
"type": "t_string_storage",
155873+
"offset": 0,
155874+
"slot": "3"
155875+
}
155876+
],
155877+
"numberOfBytes": "128"
155878+
},
155879+
"t_struct(InitializableStorage)73_storage": {
155880+
"label": "struct Initializable.InitializableStorage",
155881+
"members": [
155882+
{
155883+
"label": "_initialized",
155884+
"type": "t_uint64",
155885+
"offset": 0,
155886+
"slot": "0"
155887+
},
155888+
{
155889+
"label": "_initializing",
155890+
"type": "t_bool",
155891+
"offset": 8,
155892+
"slot": "0"
155893+
}
155894+
],
155895+
"numberOfBytes": "32"
155896+
},
155897+
"t_struct(OwnableStorage)13_storage": {
155898+
"label": "struct OwnableUpgradeable.OwnableStorage",
155899+
"members": [
155900+
{
155901+
"label": "_owner",
155902+
"type": "t_address",
155903+
"offset": 0,
155904+
"slot": "0"
155905+
}
155906+
],
155907+
"numberOfBytes": "32"
155908+
},
155909+
"t_struct(PausableStorage)219_storage": {
155910+
"label": "struct PausableUpgradeable.PausableStorage",
155911+
"members": [
155912+
{
155913+
"label": "_paused",
155914+
"type": "t_bool",
155915+
"offset": 0,
155916+
"slot": "0"
155917+
}
155918+
],
155919+
"numberOfBytes": "32"
155920+
},
155921+
"t_struct(ReentrancyGuardStorage)283_storage": {
155922+
"label": "struct ReentrancyGuardUpgradeable.ReentrancyGuardStorage",
155923+
"members": [
155924+
{
155925+
"label": "_status",
155926+
"type": "t_uint256",
155927+
"offset": 0,
155928+
"slot": "0"
155929+
}
155930+
],
155931+
"numberOfBytes": "32"
155932+
},
155933+
"t_uint256": {
155934+
"label": "uint256",
155935+
"numberOfBytes": "32"
155936+
},
155937+
"t_uint64": {
155938+
"label": "uint64",
155939+
"numberOfBytes": "8"
155940+
},
155941+
"t_contract(IGameSubsidisationRegistry)7813": {
155942+
"label": "contract IGameSubsidisationRegistry",
155943+
"numberOfBytes": "20"
155944+
},
155945+
"t_mapping(t_address,t_bool)": {
155946+
"label": "mapping(address => bool)",
155947+
"numberOfBytes": "32"
155948+
},
155949+
"t_mapping(t_address,t_struct(Session)6717_storage)": {
155950+
"label": "mapping(address => struct UsageBasedSessionModule.Session)",
155951+
"numberOfBytes": "32"
155952+
},
155953+
"t_mapping(t_address,t_struct(UserUsage)6708_storage)": {
155954+
"label": "mapping(address => struct UsageBasedSessionModule.UserUsage)",
155955+
"numberOfBytes": "32"
155956+
},
155957+
"t_mapping(t_uint256,t_struct(GroupUsage)6700_storage)": {
155958+
"label": "mapping(uint256 => struct UsageBasedSessionModule.GroupUsage)",
155959+
"numberOfBytes": "32"
155960+
},
155961+
"t_struct(GroupUsage)6700_storage": {
155962+
"label": "struct UsageBasedSessionModule.GroupUsage",
155963+
"members": [
155964+
{
155965+
"label": "day",
155966+
"type": "t_uint40",
155967+
"offset": 0,
155968+
"slot": "0"
155969+
},
155970+
{
155971+
"label": "count",
155972+
"type": "t_uint40",
155973+
"offset": 5,
155974+
"slot": "0"
155975+
}
155976+
],
155977+
"numberOfBytes": "32"
155978+
},
155979+
"t_struct(Session)6717_storage": {
155980+
"label": "struct UsageBasedSessionModule.Session",
155981+
"members": [
155982+
{
155983+
"label": "sessionKey",
155984+
"type": "t_address",
155985+
"offset": 0,
155986+
"slot": "0"
155987+
},
155988+
{
155989+
"label": "deadline",
155990+
"type": "t_uint48",
155991+
"offset": 20,
155992+
"slot": "0"
155993+
},
155994+
{
155995+
"label": "opDay",
155996+
"type": "t_uint32",
155997+
"offset": 26,
155998+
"slot": "0"
155999+
},
156000+
{
156001+
"label": "opCount",
156002+
"type": "t_uint16",
156003+
"offset": 30,
156004+
"slot": "0"
156005+
}
156006+
],
156007+
"numberOfBytes": "32"
156008+
},
156009+
"t_struct(UserUsage)6708_storage": {
156010+
"label": "struct UsageBasedSessionModule.UserUsage",
156011+
"members": [
156012+
{
156013+
"label": "groupUsage",
156014+
"type": "t_mapping(t_uint256,t_struct(GroupUsage)6700_storage)",
156015+
"offset": 0,
156016+
"slot": "0"
156017+
},
156018+
{
156019+
"label": "nonce",
156020+
"type": "t_uint256",
156021+
"offset": 0,
156022+
"slot": "1"
156023+
}
156024+
],
156025+
"numberOfBytes": "64"
156026+
},
156027+
"t_uint16": {
156028+
"label": "uint16",
156029+
"numberOfBytes": "2"
156030+
},
156031+
"t_uint32": {
156032+
"label": "uint32",
156033+
"numberOfBytes": "4"
156034+
},
156035+
"t_uint40": {
156036+
"label": "uint40",
156037+
"numberOfBytes": "5"
156038+
},
156039+
"t_uint48": {
156040+
"label": "uint48",
156041+
"numberOfBytes": "6"
156042+
}
156043+
},
156044+
"namespaces": {
156045+
"erc7201:openzeppelin.storage.Pausable": [
156046+
{
156047+
"contract": "PausableUpgradeable",
156048+
"label": "_paused",
156049+
"type": "t_bool",
156050+
"src": "@openzeppelin\\contracts-upgradeable\\utils\\PausableUpgradeable.sol:21",
156051+
"offset": 0,
156052+
"slot": "0"
156053+
}
156054+
],
156055+
"erc7201:openzeppelin.storage.ReentrancyGuard": [
156056+
{
156057+
"contract": "ReentrancyGuardUpgradeable",
156058+
"label": "_status",
156059+
"type": "t_uint256",
156060+
"src": "@openzeppelin\\contracts-upgradeable\\utils\\ReentrancyGuardUpgradeable.sol:43",
156061+
"offset": 0,
156062+
"slot": "0"
156063+
}
156064+
],
156065+
"erc7201:openzeppelin.storage.EIP712": [
156066+
{
156067+
"contract": "EIP712Upgradeable",
156068+
"label": "_hashedName",
156069+
"type": "t_bytes32",
156070+
"src": "@openzeppelin\\contracts-upgradeable\\utils\\cryptography\\EIP712Upgradeable.sol:39",
156071+
"offset": 0,
156072+
"slot": "0"
156073+
},
156074+
{
156075+
"contract": "EIP712Upgradeable",
156076+
"label": "_hashedVersion",
156077+
"type": "t_bytes32",
156078+
"src": "@openzeppelin\\contracts-upgradeable\\utils\\cryptography\\EIP712Upgradeable.sol:41",
156079+
"offset": 0,
156080+
"slot": "1"
156081+
},
156082+
{
156083+
"contract": "EIP712Upgradeable",
156084+
"label": "_name",
156085+
"type": "t_string_storage",
156086+
"src": "@openzeppelin\\contracts-upgradeable\\utils\\cryptography\\EIP712Upgradeable.sol:43",
156087+
"offset": 0,
156088+
"slot": "2"
156089+
},
156090+
{
156091+
"contract": "EIP712Upgradeable",
156092+
"label": "_version",
156093+
"type": "t_string_storage",
156094+
"src": "@openzeppelin\\contracts-upgradeable\\utils\\cryptography\\EIP712Upgradeable.sol:44",
156095+
"offset": 0,
156096+
"slot": "3"
156097+
}
156098+
],
156099+
"erc7201:openzeppelin.storage.Ownable": [
156100+
{
156101+
"contract": "OwnableUpgradeable",
156102+
"label": "_owner",
156103+
"type": "t_address",
156104+
"src": "@openzeppelin\\contracts-upgradeable\\access\\OwnableUpgradeable.sol:24",
156105+
"offset": 0,
156106+
"slot": "0"
156107+
}
156108+
],
156109+
"erc7201:openzeppelin.storage.Initializable": [
156110+
{
156111+
"contract": "Initializable",
156112+
"label": "_initialized",
156113+
"type": "t_uint64",
156114+
"src": "@openzeppelin\\contracts-upgradeable\\proxy\\utils\\Initializable.sol:69",
156115+
"offset": 0,
156116+
"slot": "0"
156117+
},
156118+
{
156119+
"contract": "Initializable",
156120+
"label": "_initializing",
156121+
"type": "t_bool",
156122+
"src": "@openzeppelin\\contracts-upgradeable\\proxy\\utils\\Initializable.sol:73",
156123+
"offset": 8,
156124+
"slot": "0"
156125+
}
156126+
]
156127+
}
156128+
}
155776156129
}
155777156130
}
155778156131
}

0 commit comments

Comments
 (0)