SHARE
TWEET

Untitled

a guest Mar 20th, 2019 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const {
  2.   Contracts,
  3.   SimpleProject,
  4.   ZWeb3,
  5.   encodeCall
  6. } = require('zos-lib')
  7.  
  8. const data = encodeCall(
  9.   'addOwner',
  10.   ['address'],
  11.   ['0xaca94ef8bd5ffee41947b4585a84bda5a3d3da6e']
  12. )
  13.  
  14. await owners.submitTransaction(owners.address, 0, data, {
  15.   from: accounts[0]
  16. })
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top