Skip to content

deploy polygon testnet

Akira Taniguchi edited this page Jan 4, 2022 · 36 revisions

link

Admin

logic

AddressRegistry

proxy logic

Dev

proxy logic

deploy log

Starting migrations...
======================
> Network name:    'polygon_testnet'
> Network id:      80001
> Block gas limit: 20000000 (0x1312d00)


1_deploy-admin.js
=================

   Deploying 'DevAdmin'
   --------------------
   > transaction hash:    0x509dac461cb0c2e68f8d01569f525e631cf56b226c0f93503af45b34efa1d860
   > Blocks: 5            Seconds: 9
   > contract address:    0xa978eA3735B7508E6144F0a007F4f6B4f332DA65
   > block number:        23507502
   > block timestamp:     1641270344
   > account:             0xDaEca4F52C4bE0d6e7DE675C2FEB4C3006A96C84
   > balance:             0.999054476
   > gas used:            472762 (0x736ba)
   > gas price:           2 gwei
   > value sent:          0 ETH
   > total cost:          0.000945524 ETH

   Pausing for 2 confirmations...
   ------------------------------
   > confirmation number: 3 (block: 23507506)
admin address:0xa978eA3735B7508E6144F0a007F4f6B4f332DA65
   > Saving artifacts
   -------------------------------------
   > Total cost:         0.000945524 ETH


Summary
=======
> Total deployments:   1
> Final cost:          0.000945524 ETH
1_deploy-address-registry.js
============================

   Deploying 'AddressRegistry'
   ---------------------------
   > transaction hash:    0xaecc1336e7ff4672f6bd7fd1f08a30f846bdef6aca9b1e532cd0355ee0c39941
   > Blocks: 2            Seconds: 5
   > contract address:    0x74F703b1A0F077bbE31D83Faf00E807a58EE433E
   > block number:        23508083
   > block timestamp:     1641271646
   > account:             0xDaEca4F52C4bE0d6e7DE675C2FEB4C3006A96C84
   > balance:             0.998085652
   > gas used:            484412 (0x7643c)
   > gas price:           2 gwei
   > value sent:          0 ETH
   > total cost:          0.000968824 ETH

   Pausing for 2 confirmations...
   ------------------------------
   > confirmation number: 1 (block: 23508085)
   > confirmation number: 2 (block: 23508086)
logic address:0x74F703b1A0F077bbE31D83Faf00E807a58EE433E
admin address:0xa978eA3735B7508E6144F0a007F4f6B4f332DA65

   Deploying 'DevProxy'
   --------------------
   > transaction hash:    0x04faab75ce4ee5c12e4496cbc16d00bb8555657d27b674340967326d30522517
   > Blocks: 1            Seconds: 5
   > contract address:    0xe2C16936413D74c667aeF0D040c920BF639067d4
   > block number:        23508089
   > block timestamp:     1641271670
   > account:             0xDaEca4F52C4bE0d6e7DE675C2FEB4C3006A96C84
   > balance:             0.996904558
   > gas used:            590547 (0x902d3)
   > gas price:           2 gwei
   > value sent:          0 ETH
   > total cost:          0.001181094 ETH

   Pausing for 2 confirmations...
   ------------------------------
   > confirmation number: 1 (block: 23508091)
   > confirmation number: 2 (block: 23508092)
proxy address:0xe2C16936413D74c667aeF0D040c920BF639067d4
finished to initialize
   > Saving artifacts
   -------------------------------------
   > Total cost:         0.002149918 ETH


Summary
=======
> Total deployments:   2
> Final cost:          0.002149918 ETH
3_deploy-dev-arbitrum.js
========================

   Deploying 'Dev'
   ---------------
   > transaction hash:    0x85f252af58feace08af855febdef583f5cd5443997744fa5feb5ae1c5028ed58
   > Blocks: 4            Seconds: 9
   > contract address:    0x42F68A959618e2047201b5A0cFeb30EBEe6875DC
   > block number:        23509152
   > block timestamp:     1641273876
   > account:             0xDaEca4F52C4bE0d6e7DE675C2FEB4C3006A96C84
   > balance:             0.99368679
   > gas used:            1532839 (0x1763a7)
   > gas price:           2 gwei
   > value sent:          0 ETH
   > total cost:          0.003065678 ETH

   Pausing for 2 confirmations...
   ------------------------------
   > confirmation number: 2 (block: 23509156)
logic address:0x42F68A959618e2047201b5A0cFeb30EBEe6875DC
admin address:0xa978eA3735B7508E6144F0a007F4f6B4f332DA65

   Replacing 'DevProxy'
   --------------------
   > transaction hash:    0x2aa9a3ad944fab4083f34dd9b333c9ec3bb668b3bf41684d90fc39a6b725783f
   > Blocks: 3            Seconds: 5
   > contract address:    0xD6D07f1c048bDF2B3d5d9B6c25eD1FC5348D0A70
   > block number:        23509161
   > block timestamp:     1641273894
   > account:             0xDaEca4F52C4bE0d6e7DE675C2FEB4C3006A96C84
   > balance:             0.992505696
   > gas used:            590547 (0x902d3)
   > gas price:           2 gwei
   > value sent:          0 ETH
   > total cost:          0.001181094 ETH

   Pausing for 2 confirmations...
   ------------------------------
   > confirmation number: 2 (block: 23509165)
proxy address:0xD6D07f1c048bDF2B3d5d9B6c25eD1FC5348D0A70
registry address:0xe2C16936413D74c667aeF0D040c920BF639067d4
set proxy address to registry
finished to initialize
   > Saving artifacts
   -------------------------------------
   > Total cost:         0.004246772 ETH


Summary
=======
> Total deployments:   2
> Final cost:          0.004246772 ETH
Clone this wiki locally