roller: use chain details in endpoint generator
$% [%frequency frequency=@dr]
[%setkey pk=@]
[%endpoint endpoint=@t =net]
- [%network =net]
==
::
+$ action
^- (quip card _state)
?- -.config
%frequency [~ state(frequency frequency.config)]
- %endpoint [~ state(endpoint `endpoint.config)]
::
- %network
+ %endpoint
:- ~
=/ [contract=@ux chain-id=@]
=< [naive chain-id]
%ropsten ropsten-contracts
%local local-contracts
==
- state(contract contract, chain-id chain-id)
+ %_ state
+ contract contract
+ chain-id chain-id
+ endpoint `endpoint.config
+ ==
::
%setkey
?~ pk=(de:base16:mimes:html pk.config)
