Address Details
contract

0xAF512a6323a4bAc7ac06973F0F43AA8c29e52237

Contract Name
StakedGrantFactoryV2
Creator
0xe1c46d–097af5 at 0x85dca8–073bc2
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
0 Transactions
Transfers
0 Transfers
Gas Used
Fetching gas used...
Last Balance Update
14639455
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-25T15:26:12.655933Z

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 indexed stakedGrant,
        address qbGrantID,
        uint96 qbApplicationID
    );

    function createStakedGrant(
        address _beneficiary,
        address _qbGrantID,
        uint96 _qbApplicationID
    ) public {
        emit StakedGrantCreated(
            msg.sender,
            _beneficiary,
            address(this),
            _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":"stakedGrant","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
0x608060405234801561001057600080fd5b5061014c806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80632da49f7d14610030575b600080fd5b61004361003e3660046100be565b610045565b005b604080516001600160a01b0384811682526bffffffffffffffffffffffff8416602083015230929086169133917ffeb6172880372cd36ea787b871b20821a84480e0fb78cbf45326bc88ad78eeb9910160405180910390a4505050565b80356001600160a01b03811681146100b957600080fd5b919050565b6000806000606084860312156100d357600080fd5b6100dc846100a2565b92506100ea602085016100a2565b915060408401356bffffffffffffffffffffffff8116811461010b57600080fd5b80915050925092509256fea2646970667358221220dff59a97c85cf559494d1d821f9c9b9b8f3d83fd153f3130073a0a6c073bb57b64736f6c634300080b0033

Deployed ByteCode

0x608060405234801561001057600080fd5b506004361061002b5760003560e01c80632da49f7d14610030575b600080fd5b61004361003e3660046100be565b610045565b005b604080516001600160a01b0384811682526bffffffffffffffffffffffff8416602083015230929086169133917ffeb6172880372cd36ea787b871b20821a84480e0fb78cbf45326bc88ad78eeb9910160405180910390a4505050565b80356001600160a01b03811681146100b957600080fd5b919050565b6000806000606084860312156100d357600080fd5b6100dc846100a2565b92506100ea602085016100a2565b915060408401356bffffffffffffffffffffffff8116811461010b57600080fd5b80915050925092509256fea2646970667358221220dff59a97c85cf559494d1d821f9c9b9b8f3d83fd153f3130073a0a6c073bb57b64736f6c634300080b0033

External libraries