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

MetricsFactory

proxy logic

Policyfactory

proxy logic

PropertyFactoryfactory

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
7_deploy-metrics-factory.js
===========================

   Deploying 'MetricsFactory'
   --------------------------
   > transaction hash:    0xeaf8225950c89bd22021ff74a95d5042f3560ea6e417a5cd7d06b8320bf6eef0
   > Blocks: 2            Seconds: 5
   > contract address:    0xB1C13283ae19b938269ba91Fb7B48D5BE8814B69
   > block number:        23510426
   > block timestamp:     1641276504
   > account:             0xDaEca4F52C4bE0d6e7DE675C2FEB4C3006A96C84
   > balance:             0.969274078
   > gas used:            900678 (0xdbe46)
   > gas price:           2 gwei
   > value sent:          0 ETH
   > total cost:          0.001801356 ETH

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

   Replacing 'DevProxy'
   --------------------
   > transaction hash:    0x018484035c44fc0268e24771cff00cfd8addc67070c284f797fa811153a0a8c4
   > Blocks: 2            Seconds: 5
   > contract address:    0x02d107567020bCE1Eb524D80C44f899Fa9993E5f
   > block number:        23510435
   > block timestamp:     1641276522
   > account:             0xDaEca4F52C4bE0d6e7DE675C2FEB4C3006A96C84
   > balance:             0.968092984
   > 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: 23510439)
proxy address:0x02d107567020bCE1Eb524D80C44f899Fa9993E5f
registry address:0xe2C16936413D74c667aeF0D040c920BF639067d4
set proxy address to registry
finished to initialize
   > Saving artifacts
   -------------------------------------
   > Total cost:          0.00298245 ETH


Summary
=======
> Total deployments:   2
> Final cost:          0.00298245 ETH
8_deploy-policy-factory.js
==========================

   Deploying 'PolicyFactory'
   -------------------------
   > transaction hash:    0x74d0ffd69f7f86ed4f78a2fcbb6033d07e7ee4c84ab4487bdf4c284297965603
   > Blocks: 5            Seconds: 9
   > contract address:    0x192925aD64ffaFA1a85BB67a3C8feDC308A55289
   > block number:        23510549
   > block timestamp:     1641276758
   > account:             0xDaEca4F52C4bE0d6e7DE675C2FEB4C3006A96C84
   > balance:             0.9665257
   > gas used:            676169 (0xa5149)
   > gas price:           2 gwei
   > value sent:          0 ETH
   > total cost:          0.001352338 ETH

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

   Replacing 'DevProxy'
   --------------------
   > transaction hash:    0xcca266248a989f6c6b43fa9f0e507e2ba03b6ae9e9a543706522894f914b378f
   > Blocks: 2            Seconds: 5
   > contract address:    0x0f85eC41980E86847Ba57eA763E9c5f88f829554
   > block number:        23510558
   > block timestamp:     1641276776
   > account:             0xDaEca4F52C4bE0d6e7DE675C2FEB4C3006A96C84
   > balance:             0.965344606
   > 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: 23510562)
proxy address:0x0f85eC41980E86847Ba57eA763E9c5f88f829554
registry address:0xe2C16936413D74c667aeF0D040c920BF639067d4
set proxy address to registry
finished to initialize
   > Saving artifacts
   -------------------------------------
   > Total cost:         0.002533432 ETH


Summary
=======
> Total deployments:   2
> Final cost:          0.002533432 ETH
9_deploy-property-factory.js
============================

   Deploying 'PropertyFactory'
   ---------------------------
   > transaction hash:    0x44c562401cf52ed27e20d9f5a5a137b20770d211f511c1475ed5ed5793711dd3
   > Blocks: 5            Seconds: 9
   > contract address:    0xe7BCC793B9E78535c2280403eD08C6a7c9F1C704
   > block number:        23510699
   > block timestamp:     1641277066
   > account:             0xDaEca4F52C4bE0d6e7DE675C2FEB4C3006A96C84
   > balance:             0.960714174
   > gas used:            2183047 (0x214f87)
   > gas price:           2 gwei
   > value sent:          0 ETH
   > total cost:          0.004366094 ETH

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

   Replacing 'DevProxy'
   --------------------
   > transaction hash:    0x0db93e87c5b079cb977d16e248f0bfce743fa072e7aa7798b66a7ef2fbc77dcc
   > Blocks: 4            Seconds: 9
   > contract address:    0xcCB7e1454d66fc3c2053694D323c127D2a4b39BA
   > block number:        23510710
   > block timestamp:     1641277088
   > account:             0xDaEca4F52C4bE0d6e7DE675C2FEB4C3006A96C84
   > balance:             0.95953308
   > gas used:            590547 (0x902d3)
   > gas price:           2 gwei
   > value sent:          0 ETH
   > total cost:          0.001181094 ETH

   Pausing for 2 confirmations...
   ------------------------------
   > confirmation number: 3 (block: 23510715)
proxy address:0xcCB7e1454d66fc3c2053694D323c127D2a4b39BA
registry address:0xe2C16936413D74c667aeF0D040c920BF639067d4
set proxy address to registry
finished to initialize
   > Saving artifacts
   -------------------------------------
   > Total cost:         0.005547188 ETH


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