Address Details
contract

0x2Df8b14Ea0fA35E78B10f232ADaF840D86f46387

Contract Name
StakedGrantFactoryV2
Creator
0xe1c46d–097af5 at 0xb8298b–09e061
Balance
0 CELO ( )
Locked CELO Balance
0.00 CELO
Voting CELO Balance
0.00 CELO
Pending Unlocked Gold
0.00 CELO
Tokens
Fetching tokens...
Transactions
1 Transactions
Transfers
0 Transfers
Gas Used
24,504
Last Balance Update
14638790
This contract has been partially verified via Sourcify. View contract in Sourcify repository
Contract name:
StakedGrantFactoryV2




Optimization enabled
true
Compiler version
v0.8.11+commit.d7f03943




Optimization runs
200
EVM Version
london




Verified at
2022-08-18T21:24:27.366246Z

src/StakedGrantFactoryV2.sol

// SPDX-License-Identifier: Apache-2.0
// https://docs.soliditylang.org/en/v0.8.10/style-guide.html
pragma solidity ^0.8.10;

contract StakedGrantFactoryV2 {
    constructor() {}

    event StakedGrantCreated(
        address indexed owner,
        address indexed beneficiary,
        address qbGrantID,
        uint96 qbApplicationID
    );

    function createStakedGrant(
        address _beneficiary,
        address _qbGrantID,
        uint96 _qbApplicationID
    ) public {
        emit StakedGrantCreated(
            msg.sender,
            _beneficiary,
            _qbGrantID,
            _qbApplicationID
        );
    }
}
        

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"event","name":"StakedGrantCreated","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"beneficiary","internalType":"address","indexed":true},{"type":"address","name":"qbGrantID","internalType":"address","indexed":false},{"type":"uint96","name":"qbApplicationID","internalType":"uint96","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"createStakedGrant","inputs":[{"type":"address","name":"_beneficiary","internalType":"address"},{"type":"address","name":"_qbGrantID","internalType":"address"},{"type":"uint96","name":"_qbApplicationID","internalType":"uint96"}]}]
              

Contract Creation Code

Verify & Publish
0x608060405234801561001057600080fd5b50610149806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80632da49f7d14610030575b600080fd5b61004361003e3660046100bb565b610045565b005b604080516001600160a01b0384811682526bffffffffffffffffffffffff8416602083015285169133917f9a0457b6dc506872c51d2fc23667f4ead5ba39e469eabd3551d2c00d2a32da8b910160405180910390a3505050565b80356001600160a01b03811681146100b657600080fd5b919050565b6000806000606084860312156100d057600080fd5b6100d98461009f565b92506100e76020850161009f565b915060408401356bffffffffffffffffffffffff8116811461010857600080fd5b80915050925092509256fea2646970667358221220d93023e3d1ea51ec3f04c3626af133dd26d896256722390d026d4f432605e6d964736f6c634300080b0033

Deployed ByteCode

0x608060405234801561001057600080fd5b506004361061002b5760003560e01c80632da49f7d14610030575b600080fd5b61004361003e3660046100bb565b610045565b005b604080516001600160a01b0384811682526bffffffffffffffffffffffff8416602083015285169133917f9a0457b6dc506872c51d2fc23667f4ead5ba39e469eabd3551d2c00d2a32da8b910160405180910390a3505050565b80356001600160a01b03811681146100b657600080fd5b919050565b6000806000606084860312156100d057600080fd5b6100d98461009f565b92506100e76020850161009f565b915060408401356bffffffffffffffffffffffff8116811461010857600080fd5b80915050925092509256fea2646970667358221220d93023e3d1ea51ec3f04c3626af133dd26d896256722390d026d4f432605e6d964736f6c634300080b0033

External libraries