Exemple #1
0
def manifest_metadata() -> NeoMetadata:
    """
    Defines this smart contract's metadata information
    """
    meta = NeoMetadata()
    meta.supported_standards = ['NEP-5']

    meta.author = "Mirella Medeiros and Ricardo Prado. COZ in partnership with Simpli"
    meta.description = "NEP-5 Example"
    meta.email = "*****@*****.**"
    return meta
Exemple #2
0
def manifest_metadata() -> NeoMetadata:
    """
    Defines this smart contract's metadata information
    """
    meta = NeoMetadata()
    meta.supported_standards = ['NEP-17']
    meta.add_permission(methods=['onNEP17Payment'])

    meta.author = "Mirella Medeiros, Ricardo Prado and Lucas Uezu. COZ in partnership with Simpli"
    meta.description = "ICO Example"
    meta.email = "*****@*****.**"
    return meta
Exemple #3
0
def manifest_metadata() -> NeoMetadata:
    """
    Defines this smart contract's metadata information
    """
    meta = NeoMetadata()
    meta.supported_standards = ['NEP-17']
    meta.add_permission(methods=['onNEP17Payment'])
    # this contract needs to call NEO methods
    meta.add_permission(contract='0xef4073a0f2b305a38ec4050e4d3d28bc40ea63f5')

    meta.author = "Mirella Medeiros, Ricardo Prado and Lucas Uezu. COZ in partnership with Simpli"
    meta.description = "Wrapped NEO Example"
    meta.email = "*****@*****.**"
    return meta
Exemple #4
0
def manifest_metadata() -> NeoMetadata:
    """
    Defines this smart contract's metadata information
    """
    meta = NeoMetadata()
    meta.supported_standards = ['NEP-17']
    meta.add_permission(methods=['onNEP17Payment'])
    # this contract needs to call GAS methods
    meta.add_permission(contract='0xd2a4cff31913016155e38e474a2c06d08be276cf')

    meta.author = "Mirella Medeiros, Ricardo Prado and Lucas Uezu. COZ in partnership with Simpli"
    meta.description = "Wrapped GAS Example"
    meta.email = "*****@*****.**"
    return meta
def standards_manifest() -> NeoMetadata:
    meta = NeoMetadata()
    meta.supported_standards = [
        'NEP-17'
    ]  # for nep17, boa checks if the standard is implemented
    return meta
def standards_manifest() -> NeoMetadata:
    meta = NeoMetadata()
    meta.supported_standards = 'NEP-11'
    return meta