mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-24 07:26:51 +03:00
25a55c0f63
Moves them into files in /lib, and updates dependents accordingly.
16 lines
370 B
Plaintext
16 lines
370 B
Plaintext
:: eth/read-contract: query ethereum for contract data
|
|
::
|
|
:: produces hex string result, for use with +decode-results:rpc:ethereum
|
|
::
|
|
/+ ethereum, ethio, strandio
|
|
=, ethereum-types
|
|
=, able:jael
|
|
::
|
|
|= args=vase
|
|
=/ m (strand:strandio ,vase)
|
|
^- form:m
|
|
;< res=@t bind:m
|
|
%- read-contract:ethio
|
|
!<([@t proto-read-request:rpc:ethereum] args)
|
|
(pure:m !>(res))
|