Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: github.com/quietgarden/elm-web3 is gone (deleted or private); Software Heritage not asked yet (this run's --swh-calls were used up); no fork with tag 2.0.1 found (5 same-name repos checked); no cached copy. Use another version.
Helpers to encode contract call parameters to JSON values for passing through ports to the JS Web3 layer.
Encode a bool argument.
Encode a string argument.
Encode raw bytes as a hex string.
Encode a bytes32 value.
Encode a bytesN value (bytes1 through bytes31).
Encode a dynamic array argument.
-- Transfer(address[],uint256[])
Encode.list Encode.address recipients
Encode.list Encode.uint256 amountsEncode a 2-tuple (struct with two fields).
-- swap(address token, uint256 amount)
Encode.tuple2 Encode.address Encode.uint256 ( tokenAddr, amount )Encode a 3-tuple (struct with three fields).
Encode an Address argument.