@@ -14,6 +14,7 @@ const ChaiAdapter = artifacts.require('ChaiAdapter');
1414const DSRAdapter = artifacts . require ( 'DSRAdapter' ) ;
1515const MCDAssetAdapter = artifacts . require ( 'MCDAssetAdapter' ) ;
1616const MCDDebtAdapter = artifacts . require ( 'MCDDebtAdapter' ) ;
17+ const PieDAOPieAdapter = artifacts . require ( 'PieDAOPieAdapter' ) ;
1718const PoolTogetherAdapter = artifacts . require ( 'PoolTogetherAdapter' ) ;
1819const SynthetixAssetAdapter = artifacts . require ( 'SynthetixAssetAdapter' ) ;
1920const SynthetixDebtAdapter = artifacts . require ( 'SynthetixDebtAdapter' ) ;
@@ -30,6 +31,7 @@ const DmmTokenAdapter = artifacts.require('DmmTokenAdapter');
3031const IdleTokenAdapter = artifacts . require ( 'IdleTokenAdapter' ) ;
3132const IearnTokenAdapter = artifacts . require ( 'IearnTokenAdapter' ) ;
3233const ChaiTokenAdapter = artifacts . require ( 'ChaiTokenAdapter' ) ;
34+ const PieDAOPieTokenAdapter = artifacts . require ( 'PieDAOPieTokenAdapter' ) ;
3335const PoolTogetherTokenAdapter = artifacts . require ( 'PoolTogetherTokenAdapter' ) ;
3436const TokenSetsTokenAdapter = artifacts . require ( 'TokenSetsTokenAdapter' ) ;
3537const UniswapV1TokenAdapter = artifacts . require ( 'UniswapV1TokenAdapter' ) ;
@@ -113,6 +115,8 @@ const usdcPoolAddress = '0x0034Ea9808E620A0EF79261c51AF20614B742B24';
113115
114116const chaiAddress = '0x06AF07097C9Eeb7fD685c692751D5C66dB49c215' ;
115117
118+ const BTCPPAddress = '0x0327112423F3A68efdF1fcF402F6c5CB9f7C33fd' ;
119+
116120const aaveAssetAdapterTokens = [
117121 aDaiAddress ,
118122 aTusdAddress ,
@@ -218,6 +222,9 @@ const mcdAssetAdapterTokens = [
218222const mcdDebtAdapterTokens = [
219223 daiAddress ,
220224] ;
225+ const pieDAOPieAdapterTokens = [
226+ BTCPPAddress ,
227+ ] ;
221228const poolTogetherAdapterTokens = [
222229 saiPoolAddress ,
223230 daiPoolAddress ,
@@ -412,6 +419,18 @@ module.exports = async (deployer, network, accounts) => {
412419 '0' ,
413420 ] ) ;
414421
422+ await deployer . deploy ( PieDAOPieAdapter , { from : accounts [ 0 ] } ) ;
423+ adapters . push ( [ PieDAOPieAdapter . address ] ) ;
424+ tokens . push ( [ pieDAOPieAdapterTokens ] ) ;
425+ protocolNames . push ( 'PieDAO' ) ;
426+ metadata . push ( [
427+ 'PieDAO BTC++' ,
428+ 'BTC on Ethereum diversified' ,
429+ 'btc.piedao.org' ,
430+ 'protocol-icons.s3.us-east-1.amazonaws.com/piedao.png' ,
431+ '0' ,
432+ ] ) ;
433+
415434 await deployer . deploy ( SynthetixAssetAdapter , { from : accounts [ 0 ] } ) ;
416435 await deployer . deploy ( SynthetixDebtAdapter , { from : accounts [ 0 ] } ) ;
417436 adapters . push ( [ SynthetixAssetAdapter . address , SynthetixDebtAdapter . address ] ) ;
@@ -521,6 +540,12 @@ module.exports = async (deployer, network, accounts) => {
521540 ChaiTokenAdapter . address ,
522541 ) ;
523542 } ) ;
543+ await deployer . deploy ( PieDAOPieTokenAdapter , { from : accounts [ 0 ] } )
544+ . then ( ( ) => {
545+ tokenAdapters . push (
546+ PieDAOPieTokenAdapter . address ,
547+ ) ;
548+ } ) ;
524549 await deployer . deploy ( PoolTogetherTokenAdapter , { from : accounts [ 0 ] } )
525550 . then ( ( ) => {
526551 tokenAdapters . push (
0 commit comments