Published
Edited
Jun 17, 2021
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
spellContract = new ethers.Contract(
validatedSpellAddress,
makerSpellAbi,
provider
)
Insert cell
Insert cell
usr = spellContract.action()
Insert cell
fax = spellContract.sig()
Insert cell
Insert cell
Insert cell
pauseProxyCalldata = new ethers.utils.Interface([
"function exec(address, bytes)"
]).encodeFunctionData('exec', [usr, fax])
Insert cell
Insert cell
traceCallResult = {
const resp = await d3.json(rpcTracingUrl, {
method: 'POST',
headers: {
Accept: 'application/json',
'Content-Type': 'application/json'
},
body: JSON.stringify({
jsonrpc: '2.0',
method: 'trace_call',
params: [
{
from: addresses.dsPause,
to: addresses.dsPauseProxy,
data: pauseProxyCalldata
},
["trace", "stateDiff"]
],
id: 1
})
});
return resp.result;
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more