NAME
Blockchain::Ethereum::ABI::Decoder - Contract ABI response decoder
SYNOPSIS
Allows you to decode contract ABI response
my $decoder = Blockchain::Ethereum::ABI::Decoder->new();
$decoder
->append('uint256')
->append('bytes[]')
->decode('0x...');
...
METHODS
append
Appends type signature to the decoder.
Usage:
append(signature) -> L<Blockchain::Ethereum::ABI::Encoder>
$param
type signature e.g. uint256
Returns $self
decode
Decodes appended signatures
Usage:
decode() -> []
Returns an array reference containing all decoded values
AUTHOR
Reginaldo Costa, <refeco at cpan.org>
BUGS
Please report any bugs or feature requests to https://github.com/refeco/perl-ABI
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Blockchain::Ethereum::ABI::Encoder
LICENSE AND COPYRIGHT
This software is Copyright (c) 2022 by REFECO.
This is free software, licensed under:
The MIT License