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

DevBridge

proxy logic

Lockup

proxy logic

MarketFactory

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.js
===============

   Replacing 'Dev'
   ---------------
   > transaction hash:    0xe563519bbfd9e727e73e5c83f7bd6fee94f4edf8ff09fe97a0faa5741791b098
   > Blocks: 5            Seconds: 9
   > contract address:    0x50Ea71c70D2399037A1bAeeC15Afbfb3417aFeff
   > block number:        23509534
   > block timestamp:     1641274664
   > account:             0xDaEca4F52C4bE0d6e7DE675C2FEB4C3006A96C84
   > balance:             0.988491162
   > 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: 23509538)
logic address:0x50Ea71c70D2399037A1bAeeC15Afbfb3417aFeff
admin address:0xa978eA3735B7508E6144F0a007F4f6B4f332DA65

   Replacing 'DevProxy'
   --------------------
   > transaction hash:    0x3fd410c3f00b6c09626843c979fd6f583bc4ec8ab67893939c3bca7380e7174a
   > Blocks: 3            Seconds: 5
   > contract address:    0xcbc698ed514dF6e54932a22515d6D0C27E4DA091
   > block number:        23509543
   > block timestamp:     1641274682
   > account:             0xDaEca4F52C4bE0d6e7DE675C2FEB4C3006A96C84
   > balance:             0.987310068
   > 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: 23509547)
proxy address:0xcbc698ed514dF6e54932a22515d6D0C27E4DA091
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
4_deploy-dev-bridge.js
======================

   Deploying 'DevBridge'
   ---------------------
   > transaction hash:    0x4b8cbf7357a2560fb31b5c266c2961af9af2859cb1c3fa25797b32e5166696dc
   > Blocks: 2            Seconds: 5
   > contract address:    0x460421769231b8De560604c4B3013Fa2F184196A
   > block number:        23510049
   > block timestamp:     1641275726
   > account:             0xDaEca4F52C4bE0d6e7DE675C2FEB4C3006A96C84
   > balance:             0.984842198
   > gas used:            821587 (0xc8953)
   > gas price:           2 gwei
   > value sent:          0 ETH
   > total cost:          0.001643174 ETH

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

   Replacing 'DevProxy'
   --------------------
   > transaction hash:    0x5976459559d67afe8564608062819b3876bc831f5b5db26746290256f77907f2
   > Blocks: 2            Seconds: 5
   > contract address:    0xf47d2BF057394977d85f3BC92ECe1e4325683aEe
   > block number:        23510058
   > block timestamp:     1641275744
   > account:             0xDaEca4F52C4bE0d6e7DE675C2FEB4C3006A96C84
   > balance:             0.983661104
   > 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: 23510062)
proxy address:0xf47d2BF057394977d85f3BC92ECe1e4325683aEe
registry address:0xe2C16936413D74c667aeF0D040c920BF639067d4
set proxy address to registry
finished to initialize
   > Saving artifacts
   -------------------------------------
   > Total cost:         0.002824268 ETH


Summary
=======
> Total deployments:   2
> Final cost:          0.002824268 ETH
5_deploy-lockup.js
==================

   Deploying 'Lockup'
   ------------------
   > transaction hash:    0xd5f9a81b815c1f5ad6535a1f6c46461f530d3134cfa23cfe23fd3d5c0e582f8c
   > Blocks: 2            Seconds: 9
   > contract address:    0x76E5558Eb94B7d09B2001399511Fe3105A110033
   > block number:        23510208
   > block timestamp:     1641276056
   > account:             0xDaEca4F52C4bE0d6e7DE675C2FEB4C3006A96C84
   > balance:             0.97877558
   > gas used:            2310641 (0x2341f1)
   > gas price:           2 gwei
   > value sent:          0 ETH
   > total cost:          0.004621282 ETH

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

   Replacing 'DevProxy'
   --------------------
   > transaction hash:    0xe4aeee616d835aa0a0023859f88dd7567896652d5d7bfd85a1e94f3ceaadc512
   > Blocks: 2            Seconds: 5
   > contract address:    0xfDC5FF1F07871A247eafE14eEB134eeFcbCf1ceA
   > block number:        23510218
   > block timestamp:     1641276076
   > account:             0xDaEca4F52C4bE0d6e7DE675C2FEB4C3006A96C84
   > balance:             0.977594534
   > gas used:            590523 (0x902bb)
   > gas price:           2 gwei
   > value sent:          0 ETH
   > total cost:          0.001181046 ETH

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


Summary
=======
> Total deployments:   2
> Final cost:          0.005802328 ETH
6_deploy-market-factory.js
==========================

   Deploying 'MarketFactory'
   -------------------------
   > transaction hash:    0xa8236973f834bafdb243d5d4b02519204dd64af2f3cf9722c7d8cd41b948efa5
   > Blocks: 5            Seconds: 9
   > contract address:    0x7DF48d39a183C1C6a52C13505eB7654609306A5D
   > block number:        23510317
   > block timestamp:     1641276278
   > account:             0xDaEca4F52C4bE0d6e7DE675C2FEB4C3006A96C84
   > balance:             0.972520852
   > gas used:            2429441 (0x251201)
   > gas price:           2 gwei
   > value sent:          0 ETH
   > total cost:          0.004858882 ETH

   Pausing for 2 confirmations...
   ------------------------------
   > confirmation number: 3 (block: 23510322)
logic address:0x7DF48d39a183C1C6a52C13505eB7654609306A5D
admin address:0xa978eA3735B7508E6144F0a007F4f6B4f332DA65

   Replacing 'DevProxy'
   --------------------
   > transaction hash:    0xe68900e7b1aee1b7c5217f91c8cf7cf464f9f4efeecdc991d5c155e791b3682b
   > Blocks: 2            Seconds: 5
   > contract address:    0x953992D325d8A9Bab35406C2E34c0d5535fa5206
   > block number:        23510326
   > block timestamp:     1641276296
   > account:             0xDaEca4F52C4bE0d6e7DE675C2FEB4C3006A96C84
   > balance:             0.971339758
   > 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: 23510330)
proxy address:0x953992D325d8A9Bab35406C2E34c0d5535fa5206
registry address:0xe2C16936413D74c667aeF0D040c920BF639067d4
set proxy address to registry
finished to initialize
   > Saving artifacts
   -------------------------------------
   > Total cost:         0.006039976 ETH


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