NAME

Blockchain::Ethereum::ABI::Type::Address - Solidity address type interface

VERSION

version 0.018

SYNOPSIS

Allows you to define and instantiate a solidity address type:

my $type = Blockchain::Ethereum::ABI::Address->new(
    signature => $signature,
    data      => $value
);

$type->encode();

In most cases you don't want to use this directly, use instead:

METHODS

encode

Encodes the given data to the type of the signature

ABI encoded hex string

decode

Decodes the given data to the type of the signature

String 0x prefixed address

AUTHOR

Reginaldo Costa <refeco@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2022 by REFECO.

This is free software, licensed under:

The MIT (X11) License