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.

Clone this wiki locally