1.0.5 • Published 1 year ago

tpoa v1.0.5

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
1 year ago

TPOA

Tpoa Alternative Open Source to (Proof of Attendance Protocol) POAP

  • Implementations of standards of OpenZeppelin contract

  • Reusable Solidity components to build custom contracts and complex decentralized systems.

  • Scale your decentralized application, transparency and with on-chain data.

// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.19;

import "tpoa/contracts/TPOA.sol";

// extend AdministratorTPoa & pass Name Collection and some Symbol
contract MyCollectibleTPOA is AdministratorTPoa("MyCustomTPoa", "MTPOA") {

    // add custom methods
    function crearTpoa(
        string memory __uri_hash_meta,
        string memory __hash_img,
        uint256 __minutes_active
    ) public payable {
        addNewTPoa(__uri_hash_meta, __hash_img, __minutes_active);
    }

}

Example extension

// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.19;

import "tpoa/contracts/TPOA.sol";

// extend AdministratorTPoa & pass Name Collection and some Symbol
contract MyCollectibleTPOA is AdministratorTPoa("MyCustomTPoa", "MTPOA") {
    string text = "Hello this is, Wonderfully too easy with TPOA.";

    // add custom methods for this example no consume gas only consult
    function greeting() public view returns (string memory) {
        return text;
    }
}

Disclaimer

Because everyone is free to deploy his own contract, any deployment is at your own risk, he cannot promise any guarantee. While we strive to develop correctly, it is impossible to ensure that everything published is sound. If you're unsure about particular content, feel free to raise your concerns on the appropriate talk page.

Nothing in the TPOA should be construed as legal advice or financial advice. If you need legal advice, please contact a lawyer.

By contributing to any development, you agree to assign a copyright for your contribution to the Free Software Foundation. The Free Software Foundation promises always to use either a verbatim copying license or a free documentation license when publishing your contribution. We grant you back all your rights under copyright, including the rights to copy, modify, and redistribute your contributions.

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago