|
|
|
@@ -114,17 +114,16 @@ async function main() { |
|
|
|
console.log(holder1.address); |
|
|
|
console.log(holder2.address); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 전송데이타 생성 |
|
|
|
// const tx = await getTransferData('test001',holder2, holder1,1); |
|
|
|
// console.log(tx); |
|
|
|
|
|
|
|
// console.log('holder2를 오퍼레이터로 등록하는 txData'); |
|
|
|
// const tx = await getOperatorGrantData('test001',admin,holder2); |
|
|
|
// console.log(tx); |
|
|
|
console.log('holder2를 오퍼레이터로 등록하는 txData'); |
|
|
|
const tx = await getOperatorGrantData('test001',admin,holder2); |
|
|
|
console.log(tx); |
|
|
|
|
|
|
|
await revokeOperator('test001',holder2.address); |
|
|
|
await printOperator('test001'); |
|
|
|
// await revokeOperator('test001',holder2.address); |
|
|
|
// await printOperator('test001'); |
|
|
|
} |
|
|
|
|
|
|
|
main(); |