Skip to content

Commit

Permalink
build: deploy YieldStreamer contract in Mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
igorsenych-cw committed Nov 19, 2024
1 parent 5ddc191 commit cd8d8f9
Showing 1 changed file with 392 additions and 0 deletions.
392 changes: 392 additions & 0 deletions .openzeppelin/unknown-2009.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,392 @@
{
"manifestVersion": "3.2",
"proxies": [
{
"address": "0xf1Db417ec9F5f10F45dD1205d5e0Bf7f3E66b71e",
"txHash": "0x4c031ecf7f1f504362dea2b797826cfb1352dc2f65bc8cfe51ed5c56416db5ba",
"kind": "uups"
}
],
"impls": {
"340a5437cc8a06d5d279a69ba9e8eb03cd6783e40316672e9e8990fe86e57cf9": {
"address": "0x3CB4D4c283d6c2f5B70E3c608356d86E2149333b",
"txHash": "0x273b304e8b1859a93399b1657eabcb023bc8dfb215efda583bb959f86adce441",
"layout": {
"solcVersion": "0.8.24",
"storage": [],
"types": {
"t_address": {
"label": "address",
"numberOfBytes": "20"
},
"t_array(t_struct(RateTier)3093_storage)dyn_storage": {
"label": "struct IYieldStreamerTypes.RateTier[]",
"numberOfBytes": "32"
},
"t_array(t_struct(YieldRate)3087_storage)dyn_storage": {
"label": "struct IYieldStreamerTypes.YieldRate[]",
"numberOfBytes": "32"
},
"t_bool": {
"label": "bool",
"numberOfBytes": "1"
},
"t_bytes32": {
"label": "bytes32",
"numberOfBytes": "32"
},
"t_mapping(t_address,t_bool)": {
"label": "mapping(address => bool)",
"numberOfBytes": "32"
},
"t_mapping(t_address,t_struct(Group)3079_storage)": {
"label": "mapping(address => struct IYieldStreamerTypes.Group)",
"numberOfBytes": "32"
},
"t_mapping(t_address,t_struct(YieldState)3105_storage)": {
"label": "mapping(address => struct IYieldStreamerTypes.YieldState)",
"numberOfBytes": "32"
},
"t_mapping(t_bytes32,t_struct(RoleData)24_storage)": {
"label": "mapping(bytes32 => struct AccessControlUpgradeable.RoleData)",
"numberOfBytes": "32"
},
"t_mapping(t_bytes32,t_uint256)": {
"label": "mapping(bytes32 => uint256)",
"numberOfBytes": "32"
},
"t_mapping(t_uint32,t_array(t_struct(YieldRate)3087_storage)dyn_storage)": {
"label": "mapping(uint32 => struct IYieldStreamerTypes.YieldRate[])",
"numberOfBytes": "32"
},
"t_struct(AccessControlStorage)34_storage": {
"label": "struct AccessControlUpgradeable.AccessControlStorage",
"members": [
{
"label": "_roles",
"type": "t_mapping(t_bytes32,t_struct(RoleData)24_storage)",
"offset": 0,
"slot": "0"
}
],
"numberOfBytes": "32"
},
"t_struct(Group)3079_storage": {
"label": "struct IYieldStreamerTypes.Group",
"members": [
{
"label": "id",
"type": "t_uint32",
"offset": 0,
"slot": "0"
}
],
"numberOfBytes": "32"
},
"t_struct(InitializableStorage)145_storage": {
"label": "struct Initializable.InitializableStorage",
"members": [
{
"label": "_initialized",
"type": "t_uint64",
"offset": 0,
"slot": "0"
},
{
"label": "_initializing",
"type": "t_bool",
"offset": 8,
"slot": "0"
}
],
"numberOfBytes": "32"
},
"t_struct(PausableStorage)291_storage": {
"label": "struct PausableUpgradeable.PausableStorage",
"members": [
{
"label": "_paused",
"type": "t_bool",
"offset": 0,
"slot": "0"
}
],
"numberOfBytes": "32"
},
"t_struct(RateTier)3093_storage": {
"label": "struct IYieldStreamerTypes.RateTier",
"members": [
{
"label": "rate",
"type": "t_uint48",
"offset": 0,
"slot": "0"
},
{
"label": "cap",
"type": "t_uint64",
"offset": 6,
"slot": "0"
}
],
"numberOfBytes": "32"
},
"t_struct(RoleData)24_storage": {
"label": "struct AccessControlUpgradeable.RoleData",
"members": [
{
"label": "hasRole",
"type": "t_mapping(t_address,t_bool)",
"offset": 0,
"slot": "0"
},
{
"label": "adminRole",
"type": "t_bytes32",
"offset": 0,
"slot": "1"
}
],
"numberOfBytes": "64"
},
"t_struct(YieldRate)3087_storage": {
"label": "struct IYieldStreamerTypes.YieldRate",
"members": [
{
"label": "tiers",
"type": "t_array(t_struct(RateTier)3093_storage)dyn_storage",
"offset": 0,
"slot": "0"
},
{
"label": "effectiveDay",
"type": "t_uint16",
"offset": 0,
"slot": "1"
}
],
"numberOfBytes": "64"
},
"t_struct(YieldState)3105_storage": {
"label": "struct IYieldStreamerTypes.YieldState",
"members": [
{
"label": "flags",
"type": "t_uint8",
"offset": 0,
"slot": "0"
},
{
"label": "streamYield",
"type": "t_uint64",
"offset": 1,
"slot": "0"
},
{
"label": "accruedYield",
"type": "t_uint64",
"offset": 9,
"slot": "0"
},
{
"label": "lastUpdateTimestamp",
"type": "t_uint40",
"offset": 17,
"slot": "0"
},
{
"label": "lastUpdateBalance",
"type": "t_uint64",
"offset": 22,
"slot": "0"
}
],
"numberOfBytes": "32"
},
"t_struct(YieldStreamerInitializationStorageLayout)2605_storage": {
"label": "struct YieldStreamerStorage_Initialization.YieldStreamerInitializationStorageLayout",
"members": [
{
"label": "sourceYieldStreamer",
"type": "t_address",
"offset": 0,
"slot": "0"
},
{
"label": "groupIds",
"type": "t_mapping(t_bytes32,t_uint256)",
"offset": 0,
"slot": "1"
}
],
"numberOfBytes": "64"
},
"t_struct(YieldStreamerStorageLayout)2642_storage": {
"label": "struct YieldStreamerStorage_Primary.YieldStreamerStorageLayout",
"members": [
{
"label": "underlyingToken",
"type": "t_address",
"offset": 0,
"slot": "0"
},
{
"label": "feeReceiver",
"type": "t_address",
"offset": 0,
"slot": "1"
},
{
"label": "groups",
"type": "t_mapping(t_address,t_struct(Group)3079_storage)",
"offset": 0,
"slot": "2"
},
{
"label": "yieldStates",
"type": "t_mapping(t_address,t_struct(YieldState)3105_storage)",
"offset": 0,
"slot": "3"
},
{
"label": "yieldRates",
"type": "t_mapping(t_uint32,t_array(t_struct(YieldRate)3087_storage)dyn_storage)",
"offset": 0,
"slot": "4"
}
],
"numberOfBytes": "160"
},
"t_uint16": {
"label": "uint16",
"numberOfBytes": "2"
},
"t_uint256": {
"label": "uint256",
"numberOfBytes": "32"
},
"t_uint32": {
"label": "uint32",
"numberOfBytes": "4"
},
"t_uint40": {
"label": "uint40",
"numberOfBytes": "5"
},
"t_uint48": {
"label": "uint48",
"numberOfBytes": "6"
},
"t_uint64": {
"label": "uint64",
"numberOfBytes": "8"
},
"t_uint8": {
"label": "uint8",
"numberOfBytes": "1"
}
},
"namespaces": {
"erc7201:cloudwalk.yieldstreamer.initialization.storage": [
{
"contract": "YieldStreamerStorage_Initialization",
"label": "sourceYieldStreamer",
"type": "t_address",
"src": "contracts\\YieldStreamerStorage.sol:72",
"offset": 0,
"slot": "0"
},
{
"contract": "YieldStreamerStorage_Initialization",
"label": "groupIds",
"type": "t_mapping(t_bytes32,t_uint256)",
"src": "contracts\\YieldStreamerStorage.sol:73",
"offset": 0,
"slot": "1"
}
],
"erc7201:cloudwalk.yieldstreamer.primary.storage": [
{
"contract": "YieldStreamerStorage_Primary",
"label": "underlyingToken",
"type": "t_address",
"src": "contracts\\YieldStreamerStorage.sol:120",
"offset": 0,
"slot": "0"
},
{
"contract": "YieldStreamerStorage_Primary",
"label": "feeReceiver",
"type": "t_address",
"src": "contracts\\YieldStreamerStorage.sol:121",
"offset": 0,
"slot": "1"
},
{
"contract": "YieldStreamerStorage_Primary",
"label": "groups",
"type": "t_mapping(t_address,t_struct(Group)3079_storage)",
"src": "contracts\\YieldStreamerStorage.sol:122",
"offset": 0,
"slot": "2"
},
{
"contract": "YieldStreamerStorage_Primary",
"label": "yieldStates",
"type": "t_mapping(t_address,t_struct(YieldState)3105_storage)",
"src": "contracts\\YieldStreamerStorage.sol:123",
"offset": 0,
"slot": "3"
},
{
"contract": "YieldStreamerStorage_Primary",
"label": "yieldRates",
"type": "t_mapping(t_uint32,t_array(t_struct(YieldRate)3087_storage)dyn_storage)",
"src": "contracts\\YieldStreamerStorage.sol:124",
"offset": 0,
"slot": "4"
}
],
"erc7201:openzeppelin.storage.Pausable": [
{
"contract": "PausableUpgradeable",
"label": "_paused",
"type": "t_bool",
"src": "@openzeppelin\\contracts-upgradeable\\utils\\PausableUpgradeable.sol:21",
"offset": 0,
"slot": "0"
}
],
"erc7201:openzeppelin.storage.AccessControl": [
{
"contract": "AccessControlUpgradeable",
"label": "_roles",
"type": "t_mapping(t_bytes32,t_struct(RoleData)24_storage)",
"src": "@openzeppelin\\contracts-upgradeable\\access\\AccessControlUpgradeable.sol:61",
"offset": 0,
"slot": "0"
}
],
"erc7201:openzeppelin.storage.Initializable": [
{
"contract": "Initializable",
"label": "_initialized",
"type": "t_uint64",
"src": "@openzeppelin\\contracts-upgradeable\\proxy\\utils\\Initializable.sol:69",
"offset": 0,
"slot": "0"
},
{
"contract": "Initializable",
"label": "_initializing",
"type": "t_bool",
"src": "@openzeppelin\\contracts-upgradeable\\proxy\\utils\\Initializable.sol:73",
"offset": 8,
"slot": "0"
}
]
}
}
}
}
}

0 comments on commit cd8d8f9

Please sign in to comment.