0xF76329E2398B2D2707DD06Ef6EfA729cd52f73f2
on Celo Alfajores Testnet (44787)
- Contract Name
- DefaultStrategy
- Compilation Target
- contracts/DefaultStrategy.sol:DefaultStrategy
- Language
- Solidity
- Compiler
- solc 0.8.11+commit.d7f03943
- EVM Version
- istanbul
- Verified At
- 2024-08-08 13:04:14 UTC
- Deployer
- Deployment Transaction
- Block Number
- Transaction Index
ABI
Source Code
- contracts/Managed.sol
- contracts/DefaultStrategy.sol
- contracts/interfaces/IAccount.sol
- contracts/interfaces/IManager.sol
- contracts/interfaces/IGroupHealth.sol
- @openzeppelin/contracts/utils/Address.sol
- @openzeppelin/contracts/utils/math/Math.sol
- contracts/common/UUPSOwnableUpgradeable.sol
- contracts/common/linkedlists/LinkedList.sol
- @openzeppelin/contracts/utils/StorageSlot.sol
- contracts/interfaces/ISpecificGroupStrategy.sol
- @openzeppelin/contracts/proxy/beacon/IBeacon.sol
- contracts/common/linkedlists/SortedLinkedList.sol
- @openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol
- @openzeppelin/contracts/utils/structs/EnumerableSet.sol
- @openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol
- contracts/common/linkedlists/AddressSortedLinkedList.sol
- @openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol
- @openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol
- @openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol
- @openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol
Compiler Settings
Libraries
This contract uses unverified libraries. Libraries can contain arbitrary code and should be verified before interacting with the contract.
Manually Linked Libraries
These libraries are linked manually on the bytecode after the compilation and not by the compiler. See Solidity docs
Name | Address |
---|---|
contracts/common/linkedlists/AddressSortedLinkedList.sol:AddressSortedLinkedList | 0x9a272d69f1b48acc648d454db78723cf8a220d9e |
Contract Metadata
Creation Bytecode
CBOR Auxdata
These values are what Sourcify extracted from the recompiled bytecode. If these values are different in the on-chain bytecode, they will show up in Transformations section.
CBOR Auxdata id: 1

Runtime Bytecode
CBOR Auxdata
These values are what Sourcify extracted from the recompiled bytecode. If these values are different in the on-chain bytecode, they will show up in Transformations section.
CBOR Auxdata id: 1

Transformations
Library Transformations
Fully Qualified Name | Address | Byte Offsets |
---|---|---|
contracts/common/linkedlists/AddressSortedLinkedList.sol:AddressSortedLinkedList | 0x9a272d69f1b48acc648d454db78723cf8a220d9e | 2783,2970,3256,4292,5685,6068,6258,6982,7493,8008,8722,9452,9579,9892,10023,12255,12390,12581,12711,13340,13530,14810,14997,15283,16195 |
Immutable Transformations
ID | Value | Offsets |
---|---|---|
854 | 0x000000000000000000000000f76329e2398b2d2707dd06ef6efa729cd52f73f2 | 2145, 2288, 5286, 5429 |
Storage Layout
Slot | Offset | Bytes | Label | Type | Contract |
---|---|---|---|---|---|
0 | 0 | 1 | _initialized | bool | contracts/DefaultStrategy.sol:DefaultStrategy |
0 | 1 | 1 | _initializing | bool | contracts/DefaultStrategy.sol:DefaultStrategy |
1 | 0 | 1600 | __gap | uint256[50] | contracts/DefaultStrategy.sol:DefaultStrategy |
51 | 0 | 20 | _owner | address | contracts/DefaultStrategy.sol:DefaultStrategy |
52 | 0 | 1568 | __gap | uint256[49] | contracts/DefaultStrategy.sol:DefaultStrategy |
101 | 0 | 20 | manager | address | contracts/DefaultStrategy.sol:DefaultStrategy |
102 | 0 | 160 | activeGroups | struct SortedLinkedList.List | contracts/DefaultStrategy.sol:DefaultStrategy |
107 | 0 | 20 | groupHealth | contract IGroupHealth | contracts/DefaultStrategy.sol:DefaultStrategy |
108 | 0 | 20 | account | contract IAccount | contracts/DefaultStrategy.sol:DefaultStrategy |
109 | 0 | 20 | specificGroupStrategy | contract ISpecificGroupStrategy | contracts/DefaultStrategy.sol:DefaultStrategy |
110 | 0 | 32 | stCeloInGroup | mapping(address ⇒ uint256) | contracts/DefaultStrategy.sol:DefaultStrategy |
111 | 0 | 32 | maxGroupsToDistributeTo | uint256 | contracts/DefaultStrategy.sol:DefaultStrategy |
112 | 0 | 32 | maxGroupsToWithdrawFrom | uint256 | contracts/DefaultStrategy.sol:DefaultStrategy |
113 | 0 | 32 | totalStCeloInStrategy | uint256 | contracts/DefaultStrategy.sol:DefaultStrategy |
114 | 0 | 32 | sortingLoopLimit | uint256 | contracts/DefaultStrategy.sol:DefaultStrategy |
115 | 0 | 1 | sorted | bool | contracts/DefaultStrategy.sol:DefaultStrategy |
116 | 0 | 64 | unsortedGroups | struct EnumerableSet.AddressSet | contracts/DefaultStrategy.sol:DefaultStrategy |
Standard JSON Input
This isn't the original compiler JSON data. Generated for compatibility.
Standard JSON Output
This isn't the original compiler JSON data. Generated for compatibility.