Delegate By Sig
const agile = new Agile(window.ethereum);
(async function() {
const delegateTx = await agile.delegateBySig(
'0xa0df350d2637096571F7A701CBc1C5fdE30dF76A',
42,
9999999999,
{
v: '0x1b',
r: '0x130dbca2fafa07424c033b4479687cc1deeb65f08809e3ab397988cc4c6f2e78',
s: '0x1debeb8250262f23906b1177161f0c7c9aa3641e8bff5b6f5c88a6bb78d5d8cd'
}
);
console.log('Ethers.js transaction object', delegateTx);
})().catch(console.error);Last updated