burnable-tech/elm-ethereum/1.0.0

NOTE: the latest version is 1.0.2

Renamed to team-toast/elm-ethereum. That is where the repository lives now. It has not been published as a package under the new name.

Versions published as burnable-tech/elm-ethereum still install under that name. 3 versions of 3 come from the new location (see their notes).

Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/team-toast/elm-ethereum.

What we checked: The repo moved to github.com/team-toast/elm-ethereum. Rebuilt with git archive from commit e6e9946b81b9 of https://github.com/team-toast/elm-ethereum (zip prefix burnable-tech-elm-ethereum-e6e9946/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 f60a115d7327a4bf489834d505b3a20402fc73e0.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/burnable-tech/elm-ethereum/zipball/1.0.0/

Abi.Encode

Encode before sending RPC Calls

= AddressE Address
| UintE BigInt
| IntE BigInt
| BoolE Bool
| DBytesE Hex
| BytesE Hex
| StringE String
| ListE (List Encoding)
| CustomE String
functionCall : String -> List Encoding -> Hex

Static Type Encoding

uint : BigInt -> Encoding
int : BigInt -> Encoding
staticBytes : Int -> Hex -> Result String Encoding

Dynamic Types

string : String -> Encoding
bytes : Hex -> Encoding

Misc

address : Address -> Encoding
bool : Bool -> Encoding
custom : String -> Encoding

Low-Level

abiEncodeList : List Encoding -> Hex
stringToHex : String -> String

Converts utf8 string to string of hex