Skip to content

deploy polygon mainnet

Akira Taniguchi edited this page Jan 7, 2022 · 15 revisions

link

Admin

logic

AddressRegistry

proxy logic

deploy log

Compiling your contracts...
===========================
> Everything is up to date, there is nothing to compile.



Starting migrations...
======================
> Network name:    'polygon_mainnet'
> Network id:      137
> Block gas limit: 16505563 (0xfbdadb)


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

   Deploying 'DevAdmin'
   --------------------
   > transaction hash:    0x1a0c27d6eef9b61aef6f46478a85e99cf927552ea9349d6cf6054922150facdf
   > Blocks: 10           Seconds: 21
   > contract address:    0xa3de020256816b3E2C18Fdc3e849Eed4c5e93C62
   > block number:        23425326
   > block timestamp:     1641523506
   > account:             0x1dCb85efEa6A3FB528d19B9174E88ee35BfF540a
   > balance:             235.617815527291055337
   > gas used:            472762 (0x736ba)
   > gas price:           370 gwei
   > value sent:          0 ETH
   > total cost:          0.17492194 ETH

   Pausing for 2 confirmations...
   ------------------------------
   > confirmation number: 1 (block: 23425329)
   > confirmation number: 4 (block: 23425332)
admin address:0xa3de020256816b3E2C18Fdc3e849Eed4c5e93C62
   > Saving artifacts
   -------------------------------------
   > Total cost:          0.17492194 ETH


2_deploy-address-registry.js
============================

   Deploying 'AddressRegistry'
   ---------------------------
   > transaction hash:    0x96de52b50f39febb049e04aba9628ec9b6df97d74e217f604f81acc4eaebf33e
   > Blocks: 53           Seconds: 113
   > contract address:    0x0a15Ccf5E6029AaAeBc5F01b09d3C240Dc56c5f9
   > block number:        23425391
   > block timestamp:     1641523641
   > account:             0x1dCb85efEa6A3FB528d19B9174E88ee35BfF540a
   > balance:             235.438583087291055337
   > gas used:            484412 (0x7643c)
   > gas price:           370 gwei
   > value sent:          0 ETH
   > total cost:          0.17923244 ETH

   Pausing for 2 confirmations...
   ------------------------------
   > confirmation number: 2 (block: 23425395)
logic address:0x0a15Ccf5E6029AaAeBc5F01b09d3C240Dc56c5f9
admin address:0xa3de020256816b3E2C18Fdc3e849Eed4c5e93C62

   Deploying 'DevProxy'
   --------------------
   > transaction hash:    0x38a1d9c11c6685189ad724e080a516cc8be665affdb41da2d8b52bc600a9cc5f
   > Blocks: 21           Seconds: 45
   > contract address:    0xbeF4DeEA3AE863739Bd402E025c749536f491ffa
   > block number:        23425418
   > block timestamp:     1641523699
   > account:             0x1dCb85efEa6A3FB528d19B9174E88ee35BfF540a
   > balance:             235.220080697291055337
   > gas used:            590547 (0x902d3)
   > gas price:           370 gwei
   > value sent:          0 ETH
   > total cost:          0.21850239 ETH

   Pausing for 2 confirmations...
   ------------------------------
   > confirmation number: 3 (block: 23425422)
proxy address:0xbeF4DeEA3AE863739Bd402E025c749536f491ffa
finished to initialize
   > Saving artifacts
   -------------------------------------
   > Total cost:          0.39773483 ETH


Summary
=======
> Total deployments:   3
> Final cost:          0.57265677 ETH


Done in 250.35s.

Compiling your contracts...
===========================
> Everything is up to date, there is nothing to compile.



Starting migrations...
======================
> Network name:    'polygon_mainnet'
> Network id:      137
> Block gas limit: 15428173 (0xeb6a4d)


3_deploy-dev.js
===============

   Deploying 'Dev'
   ---------------
   > transaction hash:    0x19dd51af7fae6a2a19a1dcb80694253a0624d2a37cced383a170d6a0e0f5cffb
   > Blocks: 7            Seconds: 13
   > contract address:    0x56ff6F36287aB1D9A8FFCb498e96fF1051B4Fa0E
   > block number:        23425584
   > block timestamp:     1641524078
   > account:             0x1dCb85efEa6A3FB528d19B9174E88ee35BfF540a
   > balance:             234.594136837289522498
   > gas used:            1532839 (0x1763a7)
   > gas price:           390.000000001 gwei
   > value sent:          0 ETH
   > total cost:          0.597807210001532839 ETH

   Pausing for 2 confirmations...
   ------------------------------
   > confirmation number: 2 (block: 23425588)
logic address:0x56ff6F36287aB1D9A8FFCb498e96fF1051B4Fa0E
admin address:0xa3de020256816b3E2C18Fdc3e849Eed4c5e93C62

   Replacing 'DevProxy'
   --------------------
   > transaction hash:    0xdf01fee76c51a2677b7b5742d9a1441b2962ffc1a6be440d232d662b788db4f2
   > Blocks: 23           Seconds: 49
   > contract address:    0x91F5dC90979b058eBA3be6B7B7e523df7e84e137
   > block number:        23425613
   > block timestamp:     1641524140
   > account:             0x1dCb85efEa6A3FB528d19B9174E88ee35BfF540a
   > balance:             234.363823507288931951
   > gas used:            590547 (0x902d3)
   > gas price:           390.000000001 gwei
   > value sent:          0 ETH
   > total cost:          0.230313330000590547 ETH

   Pausing for 2 confirmations...
   ------------------------------
   > confirmation number: 2 (block: 23425616)
proxy address:0x91F5dC90979b058eBA3be6B7B7e523df7e84e137
registry address:0xbeF4DeEA3AE863739Bd402E025c749536f491ffa
set proxy address to registry
finished to initialize
   > Saving artifacts
   -------------------------------------
   > Total cost:     0.828120540002123386 ETH


Summary
=======
> Total deployments:   2
> Final cost:          0.828120540002123386 ETH


Done in 146.08s.
Clone this wiki locally