File tree Expand file tree Collapse file tree 1 file changed +9
-17
lines changed
Expand file tree Collapse file tree 1 file changed +9
-17
lines changed Original file line number Diff line number Diff line change 11//! Call with deno task deploy [--filter <filter>]
22
3+ import { parseEther } from 'viem'
34import { deploy } from './lib/index.ts'
45
56/**
@@ -17,23 +18,14 @@ import { deploy } from './lib/index.ts'
1718// await deploy({ name: 'ATracing', args: [bAddress] })
1819// await deploy({ name: 'Storage', args: [] })
1920
20- await deploy ( {
21- name : 'Fibonacci ' ,
21+ const address = await deploy ( {
22+ name : 'Dao ' ,
2223 args : [ ] ,
24+ value : parseEther ( '100' ) ,
2325} )
2426
25- // // await deploy({
26- // // name: 'DaoAttacker',
27- // // args: [address, 1n],
28- // // value: parseEther('1'),
29- // // })
30- //
31- // await deploy({
32- // name: 'PretraceFixtureChild',
33- // args: [],
34- // })
35- //
36- // await deploy({
37- // name: 'PretraceFixture',
38- // args: [],
39- // })
27+ await deploy ( {
28+ name : 'DaoAttacker' ,
29+ args : [ address , 3n ] ,
30+ value : parseEther ( '1' ) ,
31+ } )
You can’t perform that action at this time.
0 commit comments