flare_network_periphery 0.1.0
flare_network_periphery: ^0.1.0 copied to clipboard
Generated typed Dart bindings for Flare Network's periphery contracts. Emitted from the published ABI artifacts by flare_network_codegen; do not edit by hand.
Changelog #
0.1.0 #
First release.
164 contract bindings generated from Flare's published ABI artifacts
(@flarenetwork/flare-periphery-contract-artifacts): 1,049 read methods, 513
transaction builders, 592 decodable events and 168 decodable custom errors.
Added #
- A binding class per contract, each with a
resolveconstructor that goes through the contract registry rather than a hardcoded address, because Flare redeploys contracts. decodeReverton every binding. 168 of the custom errors in Flare's published ABIs carry no message, so a node reports them as four opaque bytes and nothing else.allEventson every binding, and anAbiEventper declared event, so a log can be decoded without hand-writing a topic signature.- The source artifact version in each file's header, so a binding can be traced to what it was generated against.
Notes #
- Transaction builders return an unsigned
TransactionRequest. This package holds no keys and signing is a permanent non-goal, as it is inflare_network. - Files under
lib/src/are generated. Regenerate withdart run flare_network_codegen, and do not edit them by hand.