1 tx
2 calls
constructor
constructor(address _implementation)
functions
DEFAULT_ADMIN_ROLE
viewfunction DEFAULT_ADMIN_ROLE() view returns (bytes32)
getRoleAdmin
viewfunction getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole
viewfunction hasRole(bytes32 role, address account) view returns (bool)
implementation
viewfunction implementation() view returns (address)
MANAGER_ROLE
viewfunction MANAGER_ROLE() view returns (bytes32)
supportsInterface
viewfunction supportsInterface(bytes4 interfaceId) view returns (bool)
createCrowdfund
nonpayablefunction createCrowdfund(address _stremeCoin, address _stakedStremeCoin, address _stakingPoolAddress, address _admin) returns (address)
grantRole
nonpayablefunction grantRole(bytes32 role, address account)
renounceRole
nonpayablefunction renounceRole(bytes32 role, address callerConfirmation)
revokeRole
nonpayablefunction revokeRole(bytes32 role, address account)
setImplementation
nonpayablefunction setImplementation(address _implementation)
events
RoleAdminChanged
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
errors
AccessControlBadConfirmation
error AccessControlBadConfirmation()
AccessControlUnauthorizedAccount
error AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
FailedDeployment
error FailedDeployment()
InsufficientBalance
error InsufficientBalance(uint256 balance, uint256 needed)
creation bytecode
0x60803461008857601f6109c438819003918201601f19168301916001600160401b0383118484101761008d5780849260209460405283398101031261008857516001600160a01b0381169081900361008857600180546001600160a01b03191691909117905561006e336100a3565b506100783361011f565b506040516107ac90816101b88239f35b600080fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811660009081526000805160206109a4833981519152602052604090205460ff16610119576001600160a01b031660008181526000805160206109a483398151915260205260408120805460ff191660011790553391906000805160206109648339815191528180a4600190565b50600090565b6001600160a01b0381166000908152600080516020610984833981519152602052604090205460ff16610119576001600160a01b0316600081815260008051602061098483398151915260205260408120805460ff191660011790553391907f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08906000805160206109648339815191529080a460019056fe608080604052600436101561001357600080fd5b600090813560e01c90816301ffc9a71461052e57508063248a9ca3146104f85780632f2ff15d146104b757806336568abe146104595780635c60da1b1461043257806391d14854146103eb578063a217fddf146103cf578063a9939e9e14610210578063d547741f146101c6578063d784d426146100d75763ec87621c1461009a57600080fd5b346100d457806003193601126100d45760206040517f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b088152f35b80fd5b50346100d45760206003193601126100d4576004356001600160a01b0381168091036101c2577f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08825281602052604082206001600160a01b03331660005260205260ff6040600020541615610172577fffffffffffffffffffffffff0000000000000000000000000000000000000000600154161760015580f35b6044827fe2517d3f000000000000000000000000000000000000000000000000000000008152336004527f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08602452fd5b5080fd5b50346100d45760406003193601126100d45761020c6004356101e66105d2565b9061020761020282600052600060205260016040600020015490565b6105ed565b6106e7565b5080f35b50346100d45760806003193601126100d4576004356001600160a01b0381168091036101c25761023e6105d2565b906044356001600160a01b0381168091036103cb57606435906001600160a01b0382168092036103c7576e5af43d82803e903d91602b57fd5bf37fffffffffffffffffffffffffffffffffff000000000000000000000000000000600154763d602d80600a3d3981f3363d3d373d3d3d363d7300000062ffffff8260881c1617885260781b16176020526001600160a01b036037600987f01693841561039f57843b1561039b576001600160a01b0390604051947ff8c8765e000000000000000000000000000000000000000000000000000000008652600486015216602484015260448301526064820152828160848183865af1801561039057610349575b602082604051908152f35b67ffffffffffffffff81116103635760405260209161033e565b6024837f4e487b710000000000000000000000000000000000000000000000000000000081526041600452fd5b6040513d85823e3d90fd5b8580fd5b6004867fb06ebf3d000000000000000000000000000000000000000000000000000000008152fd5b8480fd5b8380fd5b50346100d457806003193601126100d457602090604051908152f35b50346100d45760406003193601126100d45760ff604060209261040c6105d2565b60043582528185526001600160a01b038383209116825284522054166040519015158152f35b50346100d457806003193601126100d45760206001600160a01b0360015416604051908152f35b50346100d45760406003193601126100d4576104736105d2565b336001600160a01b0382160361048f5761020c906004356106e7565b6004827f6697b232000000000000000000000000000000000000000000000000000000008152fd5b50346100d45760406003193601126100d45761020c6004356104d76105d2565b906104f361020282600052600060205260016040600020015490565b61064d565b50346100d45760206003193601126100d4576020610526600435600052600060205260016040600020015490565b604051908152f35b9050346101c25760206003193601126101c2576004357fffffffff0000000000000000000000000000000000000000000000000000000081168091036105ce57602092507f7965db0b0000000000000000000000000000000000000000000000000000000081149081156105a4575b5015158152f35b7f01ffc9a7000000000000000000000000000000000000000000000000000000009150143861059d565b8280fd5b602435906001600160a01b03821682036105e857565b600080fd5b80600052600060205260406000206001600160a01b03331660005260205260ff604060002054161561061c5750565b7fe2517d3f000000000000000000000000000000000000000000000000000000006000523360045260245260446000fd5b80600052600060205260406000206001600160a01b03831660005260205260ff60406000205416156000146106e05780600052600060205260406000206001600160a01b0383166000526020526040600020600160ff198254161790556001600160a01b03339216907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d600080a4600190565b5050600090565b80600052600060205260406000206001600160a01b03831660005260205260ff604060002054166000146106e05780600052600060205260406000206001600160a01b038316600052602052604060002060ff1981541690556001600160a01b03339216907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b600080a460019056fea264697066735822122028d60f904c2eaf0887ca42ce63f651a694f202b78cb054670543fd43c48044b864736f6c634300081a00332f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0de84508f2c7fa9c351146748b3025cb78b45df37d868e48c6a75102fecdeee645ad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb500000000000000000000000057eabe89539e7e790ebb8f2a092715bd2d863427