Skip to content

Commit

Permalink
chore: update gateway test and message hash to support institution code
Browse files Browse the repository at this point in the history
  • Loading branch information
OnahProsperity committed Jun 11, 2024
1 parent 3211801 commit e4b6be0
Show file tree
Hide file tree
Showing 41 changed files with 69,351 additions and 2,542 deletions.
204 changes: 204 additions & 0 deletions .openzeppelin/unknown-2494104990.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
"address": "0x08d650f780cc9959165d719130bcf04873d35377",
"txHash": "bd889a0c9718592d1b315d3d0d2b850de8dfe9ce1a9db427ee75e8b4da5aaefb",
"kind": "transparent"
},
{
"address": "0xadcd442c3605d4beec551b9505c1f051bc638011",
"txHash": "2aa271ccbaaac8b05860378090c687d04aff139e68e9704a850a079d01504b8e",
"kind": "transparent"
}
],
"impls": {
Expand Down Expand Up @@ -508,6 +513,205 @@
},
"namespaces": {}
}
},
"8e07f2115f4c1497ea960d739431d778511f0fa07a20cf26a97567bb7df1e232": {
"address": "0x3ed371e17efeace4a4c0cbae6d01a393a8b996a5",
"txHash": "95c8e4f91fef7a0e7dd43c30fdcf8b2ad3f02152ddd9e685e5f457fa526c6064",
"layout": {
"solcVersion": "0.8.18",
"storage": [
{
"contract": "Initializable",
"label": "_initialized",
"type": "t_uint8",
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63",
"retypedFrom": "bool"
},
{
"contract": "Initializable",
"label": "_initializing",
"type": "t_bool",
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68"
},
{
"contract": "ContextUpgradeable",
"label": "__gap",
"type": "t_array(t_uint256)50_storage",
"src": "../@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40"
},
{
"contract": "OwnableUpgradeable",
"label": "_owner",
"type": "t_address",
"src": "../@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22"
},
{
"contract": "OwnableUpgradeable",
"label": "__gap",
"type": "t_array(t_uint256)49_storage",
"src": "../@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94"
},
{
"contract": "Ownable2StepUpgradeable",
"label": "_pendingOwner",
"type": "t_address",
"src": "../@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol:21"
},
{
"contract": "Ownable2StepUpgradeable",
"label": "__gap",
"type": "t_array(t_uint256)49_storage",
"src": "../@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol:70"
},
{
"contract": "GatewaySettingManager",
"label": "MAX_BPS",
"type": "t_uint256",
"src": "GatewaySettingManager.sol:12"
},
{
"contract": "GatewaySettingManager",
"label": "protocolFeePercent",
"type": "t_uint64",
"src": "GatewaySettingManager.sol:13"
},
{
"contract": "GatewaySettingManager",
"label": "treasuryAddress",
"type": "t_address",
"src": "GatewaySettingManager.sol:14"
},
{
"contract": "GatewaySettingManager",
"label": "_aggregatorAddress",
"type": "t_address",
"src": "GatewaySettingManager.sol:15"
},
{
"contract": "GatewaySettingManager",
"label": "_isTokenSupported",
"type": "t_mapping(t_address,t_uint256)",
"src": "GatewaySettingManager.sol:16"
},
{
"contract": "GatewaySettingManager",
"label": "__gap",
"type": "t_array(t_uint256)50_storage",
"src": "GatewaySettingManager.sol:19"
},
{
"contract": "PausableUpgradeable",
"label": "_paused",
"type": "t_bool",
"src": "../@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol:29"
},
{
"contract": "PausableUpgradeable",
"label": "__gap",
"type": "t_array(t_uint256)49_storage",
"src": "../@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol:116"
},
{
"contract": "Gateway",
"label": "order",
"type": "t_mapping(t_bytes32,t_struct(Order)842_storage)",
"src": "Gateway.sol:19"
},
{
"contract": "Gateway",
"label": "_nonce",
"type": "t_mapping(t_address,t_uint256)",
"src": "Gateway.sol:20"
},
{
"contract": "Gateway",
"label": "__gap",
"type": "t_array(t_uint256)50_storage",
"src": "Gateway.sol:21"
}
],
"types": {
"t_mapping(t_bytes32,t_struct(Order)842_storage)": {
"label": "mapping(bytes32 => struct IGateway.Order)"
},
"t_bytes32": {
"label": "bytes32"
},
"t_struct(Order)842_storage": {
"label": "struct IGateway.Order",
"members": [
{
"label": "sender",
"type": "t_address"
},
{
"label": "token",
"type": "t_address"
},
{
"label": "senderFeeRecipient",
"type": "t_address"
},
{
"label": "senderFee",
"type": "t_uint256"
},
{
"label": "protocolFee",
"type": "t_uint256"
},
{
"label": "isFulfilled",
"type": "t_bool"
},
{
"label": "isRefunded",
"type": "t_bool"
},
{
"label": "refundAddress",
"type": "t_address"
},
{
"label": "currentBPS",
"type": "t_uint96"
},
{
"label": "amount",
"type": "t_uint256"
}
]
},
"t_address": {
"label": "address"
},
"t_uint256": {
"label": "uint256"
},
"t_bool": {
"label": "bool"
},
"t_uint96": {
"label": "uint96"
},
"t_mapping(t_address,t_uint256)": {
"label": "mapping(address => uint256)"
},
"t_array(t_uint256)50_storage": {
"label": "uint256[50]"
},
"t_array(t_uint256)49_storage": {
"label": "uint256[49]"
},
"t_uint64": {
"label": "uint64"
},
"t_uint8": {
"label": "uint8"
}
},
"namespaces": {}
}
}
}
}
1 change: 1 addition & 0 deletions artifacts/build-info/bf930775e6dd5ca8a1e27dfc6c936b1e.json

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion artifacts/build-info/d775da09ef809423b637832990bde81f.json

This file was deleted.

1 change: 0 additions & 1 deletion artifacts/build-info/eb9240473b2cb7463d0c0c1e49e041e7.json

This file was deleted.

6 changes: 1 addition & 5 deletions artifacts/contracts/Gateway.sol/Gateway.dbg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
"_format": "hh-sol-dbg-1",
<<<<<<< HEAD
"buildInfo": "../../build-info/d775da09ef809423b637832990bde81f.json"
=======
"buildInfo": "../../build-info/eb9240473b2cb7463d0c0c1e49e041e7.json"
>>>>>>> 8d3398d0fd77f8a7a3b42431d43fdb5937887bac
"buildInfo": "../../build-info/bf930775e6dd5ca8a1e27dfc6c936b1e.json"
}
Loading

0 comments on commit e4b6be0

Please sign in to comment.