Skip to content

Commit

Permalink
feat(stake-payment): implement payment staking contract (#52)
Browse files Browse the repository at this point in the history
Notes:
- payment config registry must be upgraded because the assertSignature
function logic had been updated
  • Loading branch information
thongxuan authored Jan 2, 2025
1 parent 868ee0f commit 5eb4b8c
Show file tree
Hide file tree
Showing 43 changed files with 8,947 additions and 485 deletions.
2,320 changes: 2,320 additions & 0 deletions .openzeppelin/base-sepolia.json

Large diffs are not rendered by default.

113 changes: 113 additions & 0 deletions .openzeppelin/unknown-8453.json → .openzeppelin/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -1342,6 +1342,119 @@
}
}
}
},
"95e0a76e02ee36ef40cec4efaac8c24710d0856fc8a5bbb40c178a84b3cd7066": {
"address": "0x3E9Fc7f1Cb2583c031FA530FE6d5015210d8c36A",
"txHash": "0x86e9ae4c237d1d366c296f4ea547df78ffd7cf1f6db0664fcac8ac5b2cf4b871",
"layout": {
"solcVersion": "0.8.4",
"storage": [
{
"label": "_initialized",
"offset": 0,
"slot": "0",
"type": "t_uint8",
"contract": "Initializable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63",
"retypedFrom": "bool"
},
{
"label": "_initializing",
"offset": 1,
"slot": "0",
"type": "t_bool",
"contract": "Initializable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68"
},
{
"label": "__gap",
"offset": 0,
"slot": "1",
"type": "t_array(t_uint256)50_storage",
"contract": "ContextUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40"
},
{
"label": "_owner",
"offset": 0,
"slot": "51",
"type": "t_address",
"contract": "OwnableUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22"
},
{
"label": "__gap",
"offset": 0,
"slot": "52",
"type": "t_array(t_uint256)49_storage",
"contract": "OwnableUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94"
},
{
"label": "accessRegistry",
"offset": 0,
"slot": "101",
"type": "t_address",
"contract": "PaymentConfigRegistry",
"src": "contracts/payment/PaymentConfigRegistry.sol:21"
},
{
"label": "authorizedSigner",
"offset": 0,
"slot": "102",
"type": "t_address",
"contract": "PaymentConfigRegistry",
"src": "contracts/payment/PaymentConfigRegistry.sol:22"
},
{
"label": "feePPM",
"offset": 0,
"slot": "103",
"type": "t_uint256",
"contract": "PaymentConfigRegistry",
"src": "contracts/payment/PaymentConfigRegistry.sol:23"
},
{
"label": "__gap",
"offset": 0,
"slot": "104",
"type": "t_array(t_uint256)20_storage",
"contract": "PaymentConfigRegistry",
"src": "contracts/payment/PaymentConfigRegistry.sol:24"
}
],
"types": {
"t_address": {
"label": "address",
"numberOfBytes": "20"
},
"t_array(t_uint256)20_storage": {
"label": "uint256[20]",
"numberOfBytes": "640"
},
"t_array(t_uint256)49_storage": {
"label": "uint256[49]",
"numberOfBytes": "1568"
},
"t_array(t_uint256)50_storage": {
"label": "uint256[50]",
"numberOfBytes": "1600"
},
"t_bool": {
"label": "bool",
"numberOfBytes": "1"
},
"t_uint256": {
"label": "uint256",
"numberOfBytes": "32"
},
"t_uint8": {
"label": "uint8",
"numberOfBytes": "1"
}
},
"namespaces": {}
}
}
}
}
Loading

0 comments on commit 5eb4b8c

Please sign in to comment.