@venusprotocol/oracle 2.14.1-dev.1 → 2.15.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/deployments/bscmainnet/USDTChainlinkOracle.json +658 -0
- package/deployments/bscmainnet/USDTChainlinkOracle_Implementation.json +743 -0
- package/deployments/bscmainnet/USDTChainlinkOracle_Proxy.json +262 -0
- package/deployments/bscmainnet/solcInputs/3ca9a48d85e1660209ac2937954d2c67.json +121 -0
- package/deployments/bscmainnet/solcInputs/a5bca20982c9bb49cb2eb7474644c181.json +337 -0
- package/deployments/bscmainnet.json +1064 -0
- package/deployments/bscmainnet_addresses.json +3 -0
- package/deployments/bsctestnet/USDTChainlinkOracle.json +658 -0
- package/deployments/bsctestnet/USDTChainlinkOracle_Implementation.json +743 -0
- package/deployments/bsctestnet/USDTChainlinkOracle_Proxy.json +262 -0
- package/deployments/bsctestnet/solcInputs/a5bca20982c9bb49cb2eb7474644c181.json +337 -0
- package/deployments/bsctestnet.json +1064 -0
- package/deployments/bsctestnet_addresses.json +3 -0
- package/dist/deploy/25-deploy-usdt-chainlink-oracle.d.ts +4 -0
- package/dist/deploy/25-deploy-usdt-chainlink-oracle.d.ts.map +1 -0
- package/dist/deploy/25-deploy-usdt-chainlink-oracle.js +47 -0
- package/dist/deploy/25-deploy-usdt-chainlink-oracle.js.map +1 -0
- package/dist/hardhat.config.d.ts +1 -1
- package/dist/hardhat.config.d.ts.map +1 -1
- package/dist/hardhat.config.js +5 -89
- package/dist/hardhat.config.js.map +1 -1
- package/package.json +2 -2
|
@@ -13312,6 +13312,1070 @@
|
|
|
13312
13312
|
}
|
|
13313
13313
|
]
|
|
13314
13314
|
},
|
|
13315
|
+
"USDTChainlinkOracle": {
|
|
13316
|
+
"address": "0x188b608544Fa32D313DE3BBB0480a238c0906e2a",
|
|
13317
|
+
"abi": [
|
|
13318
|
+
{
|
|
13319
|
+
"anonymous": false,
|
|
13320
|
+
"inputs": [
|
|
13321
|
+
{
|
|
13322
|
+
"indexed": false,
|
|
13323
|
+
"internalType": "address",
|
|
13324
|
+
"name": "previousAdmin",
|
|
13325
|
+
"type": "address"
|
|
13326
|
+
},
|
|
13327
|
+
{
|
|
13328
|
+
"indexed": false,
|
|
13329
|
+
"internalType": "address",
|
|
13330
|
+
"name": "newAdmin",
|
|
13331
|
+
"type": "address"
|
|
13332
|
+
}
|
|
13333
|
+
],
|
|
13334
|
+
"name": "AdminChanged",
|
|
13335
|
+
"type": "event"
|
|
13336
|
+
},
|
|
13337
|
+
{
|
|
13338
|
+
"anonymous": false,
|
|
13339
|
+
"inputs": [
|
|
13340
|
+
{
|
|
13341
|
+
"indexed": true,
|
|
13342
|
+
"internalType": "address",
|
|
13343
|
+
"name": "beacon",
|
|
13344
|
+
"type": "address"
|
|
13345
|
+
}
|
|
13346
|
+
],
|
|
13347
|
+
"name": "BeaconUpgraded",
|
|
13348
|
+
"type": "event"
|
|
13349
|
+
},
|
|
13350
|
+
{
|
|
13351
|
+
"anonymous": false,
|
|
13352
|
+
"inputs": [
|
|
13353
|
+
{
|
|
13354
|
+
"indexed": true,
|
|
13355
|
+
"internalType": "address",
|
|
13356
|
+
"name": "implementation",
|
|
13357
|
+
"type": "address"
|
|
13358
|
+
}
|
|
13359
|
+
],
|
|
13360
|
+
"name": "Upgraded",
|
|
13361
|
+
"type": "event"
|
|
13362
|
+
},
|
|
13363
|
+
{
|
|
13364
|
+
"stateMutability": "payable",
|
|
13365
|
+
"type": "fallback"
|
|
13366
|
+
},
|
|
13367
|
+
{
|
|
13368
|
+
"inputs": [],
|
|
13369
|
+
"name": "admin",
|
|
13370
|
+
"outputs": [
|
|
13371
|
+
{
|
|
13372
|
+
"internalType": "address",
|
|
13373
|
+
"name": "admin_",
|
|
13374
|
+
"type": "address"
|
|
13375
|
+
}
|
|
13376
|
+
],
|
|
13377
|
+
"stateMutability": "nonpayable",
|
|
13378
|
+
"type": "function"
|
|
13379
|
+
},
|
|
13380
|
+
{
|
|
13381
|
+
"inputs": [],
|
|
13382
|
+
"name": "implementation",
|
|
13383
|
+
"outputs": [
|
|
13384
|
+
{
|
|
13385
|
+
"internalType": "address",
|
|
13386
|
+
"name": "implementation_",
|
|
13387
|
+
"type": "address"
|
|
13388
|
+
}
|
|
13389
|
+
],
|
|
13390
|
+
"stateMutability": "nonpayable",
|
|
13391
|
+
"type": "function"
|
|
13392
|
+
},
|
|
13393
|
+
{
|
|
13394
|
+
"inputs": [
|
|
13395
|
+
{
|
|
13396
|
+
"internalType": "address",
|
|
13397
|
+
"name": "newImplementation",
|
|
13398
|
+
"type": "address"
|
|
13399
|
+
}
|
|
13400
|
+
],
|
|
13401
|
+
"name": "upgradeTo",
|
|
13402
|
+
"outputs": [],
|
|
13403
|
+
"stateMutability": "nonpayable",
|
|
13404
|
+
"type": "function"
|
|
13405
|
+
},
|
|
13406
|
+
{
|
|
13407
|
+
"inputs": [
|
|
13408
|
+
{
|
|
13409
|
+
"internalType": "address",
|
|
13410
|
+
"name": "newImplementation",
|
|
13411
|
+
"type": "address"
|
|
13412
|
+
},
|
|
13413
|
+
{
|
|
13414
|
+
"internalType": "bytes",
|
|
13415
|
+
"name": "data",
|
|
13416
|
+
"type": "bytes"
|
|
13417
|
+
}
|
|
13418
|
+
],
|
|
13419
|
+
"name": "upgradeToAndCall",
|
|
13420
|
+
"outputs": [],
|
|
13421
|
+
"stateMutability": "payable",
|
|
13422
|
+
"type": "function"
|
|
13423
|
+
},
|
|
13424
|
+
{
|
|
13425
|
+
"stateMutability": "payable",
|
|
13426
|
+
"type": "receive"
|
|
13427
|
+
},
|
|
13428
|
+
{
|
|
13429
|
+
"inputs": [
|
|
13430
|
+
{
|
|
13431
|
+
"internalType": "address",
|
|
13432
|
+
"name": "sender",
|
|
13433
|
+
"type": "address"
|
|
13434
|
+
},
|
|
13435
|
+
{
|
|
13436
|
+
"internalType": "address",
|
|
13437
|
+
"name": "calledContract",
|
|
13438
|
+
"type": "address"
|
|
13439
|
+
},
|
|
13440
|
+
{
|
|
13441
|
+
"internalType": "string",
|
|
13442
|
+
"name": "methodSignature",
|
|
13443
|
+
"type": "string"
|
|
13444
|
+
}
|
|
13445
|
+
],
|
|
13446
|
+
"name": "Unauthorized",
|
|
13447
|
+
"type": "error"
|
|
13448
|
+
},
|
|
13449
|
+
{
|
|
13450
|
+
"anonymous": false,
|
|
13451
|
+
"inputs": [
|
|
13452
|
+
{
|
|
13453
|
+
"indexed": false,
|
|
13454
|
+
"internalType": "uint8",
|
|
13455
|
+
"name": "version",
|
|
13456
|
+
"type": "uint8"
|
|
13457
|
+
}
|
|
13458
|
+
],
|
|
13459
|
+
"name": "Initialized",
|
|
13460
|
+
"type": "event"
|
|
13461
|
+
},
|
|
13462
|
+
{
|
|
13463
|
+
"anonymous": false,
|
|
13464
|
+
"inputs": [
|
|
13465
|
+
{
|
|
13466
|
+
"indexed": false,
|
|
13467
|
+
"internalType": "address",
|
|
13468
|
+
"name": "oldAccessControlManager",
|
|
13469
|
+
"type": "address"
|
|
13470
|
+
},
|
|
13471
|
+
{
|
|
13472
|
+
"indexed": false,
|
|
13473
|
+
"internalType": "address",
|
|
13474
|
+
"name": "newAccessControlManager",
|
|
13475
|
+
"type": "address"
|
|
13476
|
+
}
|
|
13477
|
+
],
|
|
13478
|
+
"name": "NewAccessControlManager",
|
|
13479
|
+
"type": "event"
|
|
13480
|
+
},
|
|
13481
|
+
{
|
|
13482
|
+
"anonymous": false,
|
|
13483
|
+
"inputs": [
|
|
13484
|
+
{
|
|
13485
|
+
"indexed": true,
|
|
13486
|
+
"internalType": "address",
|
|
13487
|
+
"name": "previousOwner",
|
|
13488
|
+
"type": "address"
|
|
13489
|
+
},
|
|
13490
|
+
{
|
|
13491
|
+
"indexed": true,
|
|
13492
|
+
"internalType": "address",
|
|
13493
|
+
"name": "newOwner",
|
|
13494
|
+
"type": "address"
|
|
13495
|
+
}
|
|
13496
|
+
],
|
|
13497
|
+
"name": "OwnershipTransferStarted",
|
|
13498
|
+
"type": "event"
|
|
13499
|
+
},
|
|
13500
|
+
{
|
|
13501
|
+
"anonymous": false,
|
|
13502
|
+
"inputs": [
|
|
13503
|
+
{
|
|
13504
|
+
"indexed": true,
|
|
13505
|
+
"internalType": "address",
|
|
13506
|
+
"name": "previousOwner",
|
|
13507
|
+
"type": "address"
|
|
13508
|
+
},
|
|
13509
|
+
{
|
|
13510
|
+
"indexed": true,
|
|
13511
|
+
"internalType": "address",
|
|
13512
|
+
"name": "newOwner",
|
|
13513
|
+
"type": "address"
|
|
13514
|
+
}
|
|
13515
|
+
],
|
|
13516
|
+
"name": "OwnershipTransferred",
|
|
13517
|
+
"type": "event"
|
|
13518
|
+
},
|
|
13519
|
+
{
|
|
13520
|
+
"anonymous": false,
|
|
13521
|
+
"inputs": [
|
|
13522
|
+
{
|
|
13523
|
+
"indexed": true,
|
|
13524
|
+
"internalType": "address",
|
|
13525
|
+
"name": "asset",
|
|
13526
|
+
"type": "address"
|
|
13527
|
+
},
|
|
13528
|
+
{
|
|
13529
|
+
"indexed": false,
|
|
13530
|
+
"internalType": "uint256",
|
|
13531
|
+
"name": "previousPriceMantissa",
|
|
13532
|
+
"type": "uint256"
|
|
13533
|
+
},
|
|
13534
|
+
{
|
|
13535
|
+
"indexed": false,
|
|
13536
|
+
"internalType": "uint256",
|
|
13537
|
+
"name": "newPriceMantissa",
|
|
13538
|
+
"type": "uint256"
|
|
13539
|
+
}
|
|
13540
|
+
],
|
|
13541
|
+
"name": "PricePosted",
|
|
13542
|
+
"type": "event"
|
|
13543
|
+
},
|
|
13544
|
+
{
|
|
13545
|
+
"anonymous": false,
|
|
13546
|
+
"inputs": [
|
|
13547
|
+
{
|
|
13548
|
+
"indexed": true,
|
|
13549
|
+
"internalType": "address",
|
|
13550
|
+
"name": "asset",
|
|
13551
|
+
"type": "address"
|
|
13552
|
+
},
|
|
13553
|
+
{
|
|
13554
|
+
"indexed": false,
|
|
13555
|
+
"internalType": "address",
|
|
13556
|
+
"name": "feed",
|
|
13557
|
+
"type": "address"
|
|
13558
|
+
},
|
|
13559
|
+
{
|
|
13560
|
+
"indexed": false,
|
|
13561
|
+
"internalType": "uint256",
|
|
13562
|
+
"name": "maxStalePeriod",
|
|
13563
|
+
"type": "uint256"
|
|
13564
|
+
}
|
|
13565
|
+
],
|
|
13566
|
+
"name": "TokenConfigAdded",
|
|
13567
|
+
"type": "event"
|
|
13568
|
+
},
|
|
13569
|
+
{
|
|
13570
|
+
"inputs": [],
|
|
13571
|
+
"name": "NATIVE_TOKEN_ADDR",
|
|
13572
|
+
"outputs": [
|
|
13573
|
+
{
|
|
13574
|
+
"internalType": "address",
|
|
13575
|
+
"name": "",
|
|
13576
|
+
"type": "address"
|
|
13577
|
+
}
|
|
13578
|
+
],
|
|
13579
|
+
"stateMutability": "view",
|
|
13580
|
+
"type": "function"
|
|
13581
|
+
},
|
|
13582
|
+
{
|
|
13583
|
+
"inputs": [],
|
|
13584
|
+
"name": "acceptOwnership",
|
|
13585
|
+
"outputs": [],
|
|
13586
|
+
"stateMutability": "nonpayable",
|
|
13587
|
+
"type": "function"
|
|
13588
|
+
},
|
|
13589
|
+
{
|
|
13590
|
+
"inputs": [],
|
|
13591
|
+
"name": "accessControlManager",
|
|
13592
|
+
"outputs": [
|
|
13593
|
+
{
|
|
13594
|
+
"internalType": "contract IAccessControlManagerV8",
|
|
13595
|
+
"name": "",
|
|
13596
|
+
"type": "address"
|
|
13597
|
+
}
|
|
13598
|
+
],
|
|
13599
|
+
"stateMutability": "view",
|
|
13600
|
+
"type": "function"
|
|
13601
|
+
},
|
|
13602
|
+
{
|
|
13603
|
+
"inputs": [
|
|
13604
|
+
{
|
|
13605
|
+
"internalType": "address",
|
|
13606
|
+
"name": "asset",
|
|
13607
|
+
"type": "address"
|
|
13608
|
+
}
|
|
13609
|
+
],
|
|
13610
|
+
"name": "getPrice",
|
|
13611
|
+
"outputs": [
|
|
13612
|
+
{
|
|
13613
|
+
"internalType": "uint256",
|
|
13614
|
+
"name": "",
|
|
13615
|
+
"type": "uint256"
|
|
13616
|
+
}
|
|
13617
|
+
],
|
|
13618
|
+
"stateMutability": "view",
|
|
13619
|
+
"type": "function"
|
|
13620
|
+
},
|
|
13621
|
+
{
|
|
13622
|
+
"inputs": [
|
|
13623
|
+
{
|
|
13624
|
+
"internalType": "address",
|
|
13625
|
+
"name": "accessControlManager_",
|
|
13626
|
+
"type": "address"
|
|
13627
|
+
}
|
|
13628
|
+
],
|
|
13629
|
+
"name": "initialize",
|
|
13630
|
+
"outputs": [],
|
|
13631
|
+
"stateMutability": "nonpayable",
|
|
13632
|
+
"type": "function"
|
|
13633
|
+
},
|
|
13634
|
+
{
|
|
13635
|
+
"inputs": [],
|
|
13636
|
+
"name": "owner",
|
|
13637
|
+
"outputs": [
|
|
13638
|
+
{
|
|
13639
|
+
"internalType": "address",
|
|
13640
|
+
"name": "",
|
|
13641
|
+
"type": "address"
|
|
13642
|
+
}
|
|
13643
|
+
],
|
|
13644
|
+
"stateMutability": "view",
|
|
13645
|
+
"type": "function"
|
|
13646
|
+
},
|
|
13647
|
+
{
|
|
13648
|
+
"inputs": [],
|
|
13649
|
+
"name": "pendingOwner",
|
|
13650
|
+
"outputs": [
|
|
13651
|
+
{
|
|
13652
|
+
"internalType": "address",
|
|
13653
|
+
"name": "",
|
|
13654
|
+
"type": "address"
|
|
13655
|
+
}
|
|
13656
|
+
],
|
|
13657
|
+
"stateMutability": "view",
|
|
13658
|
+
"type": "function"
|
|
13659
|
+
},
|
|
13660
|
+
{
|
|
13661
|
+
"inputs": [
|
|
13662
|
+
{
|
|
13663
|
+
"internalType": "address",
|
|
13664
|
+
"name": "",
|
|
13665
|
+
"type": "address"
|
|
13666
|
+
}
|
|
13667
|
+
],
|
|
13668
|
+
"name": "prices",
|
|
13669
|
+
"outputs": [
|
|
13670
|
+
{
|
|
13671
|
+
"internalType": "uint256",
|
|
13672
|
+
"name": "",
|
|
13673
|
+
"type": "uint256"
|
|
13674
|
+
}
|
|
13675
|
+
],
|
|
13676
|
+
"stateMutability": "view",
|
|
13677
|
+
"type": "function"
|
|
13678
|
+
},
|
|
13679
|
+
{
|
|
13680
|
+
"inputs": [],
|
|
13681
|
+
"name": "renounceOwnership",
|
|
13682
|
+
"outputs": [],
|
|
13683
|
+
"stateMutability": "nonpayable",
|
|
13684
|
+
"type": "function"
|
|
13685
|
+
},
|
|
13686
|
+
{
|
|
13687
|
+
"inputs": [
|
|
13688
|
+
{
|
|
13689
|
+
"internalType": "address",
|
|
13690
|
+
"name": "accessControlManager_",
|
|
13691
|
+
"type": "address"
|
|
13692
|
+
}
|
|
13693
|
+
],
|
|
13694
|
+
"name": "setAccessControlManager",
|
|
13695
|
+
"outputs": [],
|
|
13696
|
+
"stateMutability": "nonpayable",
|
|
13697
|
+
"type": "function"
|
|
13698
|
+
},
|
|
13699
|
+
{
|
|
13700
|
+
"inputs": [
|
|
13701
|
+
{
|
|
13702
|
+
"internalType": "address",
|
|
13703
|
+
"name": "asset",
|
|
13704
|
+
"type": "address"
|
|
13705
|
+
},
|
|
13706
|
+
{
|
|
13707
|
+
"internalType": "uint256",
|
|
13708
|
+
"name": "price",
|
|
13709
|
+
"type": "uint256"
|
|
13710
|
+
}
|
|
13711
|
+
],
|
|
13712
|
+
"name": "setDirectPrice",
|
|
13713
|
+
"outputs": [],
|
|
13714
|
+
"stateMutability": "nonpayable",
|
|
13715
|
+
"type": "function"
|
|
13716
|
+
},
|
|
13717
|
+
{
|
|
13718
|
+
"inputs": [
|
|
13719
|
+
{
|
|
13720
|
+
"components": [
|
|
13721
|
+
{
|
|
13722
|
+
"internalType": "address",
|
|
13723
|
+
"name": "asset",
|
|
13724
|
+
"type": "address"
|
|
13725
|
+
},
|
|
13726
|
+
{
|
|
13727
|
+
"internalType": "address",
|
|
13728
|
+
"name": "feed",
|
|
13729
|
+
"type": "address"
|
|
13730
|
+
},
|
|
13731
|
+
{
|
|
13732
|
+
"internalType": "uint256",
|
|
13733
|
+
"name": "maxStalePeriod",
|
|
13734
|
+
"type": "uint256"
|
|
13735
|
+
}
|
|
13736
|
+
],
|
|
13737
|
+
"internalType": "struct ChainlinkOracle.TokenConfig",
|
|
13738
|
+
"name": "tokenConfig",
|
|
13739
|
+
"type": "tuple"
|
|
13740
|
+
}
|
|
13741
|
+
],
|
|
13742
|
+
"name": "setTokenConfig",
|
|
13743
|
+
"outputs": [],
|
|
13744
|
+
"stateMutability": "nonpayable",
|
|
13745
|
+
"type": "function"
|
|
13746
|
+
},
|
|
13747
|
+
{
|
|
13748
|
+
"inputs": [
|
|
13749
|
+
{
|
|
13750
|
+
"components": [
|
|
13751
|
+
{
|
|
13752
|
+
"internalType": "address",
|
|
13753
|
+
"name": "asset",
|
|
13754
|
+
"type": "address"
|
|
13755
|
+
},
|
|
13756
|
+
{
|
|
13757
|
+
"internalType": "address",
|
|
13758
|
+
"name": "feed",
|
|
13759
|
+
"type": "address"
|
|
13760
|
+
},
|
|
13761
|
+
{
|
|
13762
|
+
"internalType": "uint256",
|
|
13763
|
+
"name": "maxStalePeriod",
|
|
13764
|
+
"type": "uint256"
|
|
13765
|
+
}
|
|
13766
|
+
],
|
|
13767
|
+
"internalType": "struct ChainlinkOracle.TokenConfig[]",
|
|
13768
|
+
"name": "tokenConfigs_",
|
|
13769
|
+
"type": "tuple[]"
|
|
13770
|
+
}
|
|
13771
|
+
],
|
|
13772
|
+
"name": "setTokenConfigs",
|
|
13773
|
+
"outputs": [],
|
|
13774
|
+
"stateMutability": "nonpayable",
|
|
13775
|
+
"type": "function"
|
|
13776
|
+
},
|
|
13777
|
+
{
|
|
13778
|
+
"inputs": [
|
|
13779
|
+
{
|
|
13780
|
+
"internalType": "address",
|
|
13781
|
+
"name": "",
|
|
13782
|
+
"type": "address"
|
|
13783
|
+
}
|
|
13784
|
+
],
|
|
13785
|
+
"name": "tokenConfigs",
|
|
13786
|
+
"outputs": [
|
|
13787
|
+
{
|
|
13788
|
+
"internalType": "address",
|
|
13789
|
+
"name": "asset",
|
|
13790
|
+
"type": "address"
|
|
13791
|
+
},
|
|
13792
|
+
{
|
|
13793
|
+
"internalType": "address",
|
|
13794
|
+
"name": "feed",
|
|
13795
|
+
"type": "address"
|
|
13796
|
+
},
|
|
13797
|
+
{
|
|
13798
|
+
"internalType": "uint256",
|
|
13799
|
+
"name": "maxStalePeriod",
|
|
13800
|
+
"type": "uint256"
|
|
13801
|
+
}
|
|
13802
|
+
],
|
|
13803
|
+
"stateMutability": "view",
|
|
13804
|
+
"type": "function"
|
|
13805
|
+
},
|
|
13806
|
+
{
|
|
13807
|
+
"inputs": [
|
|
13808
|
+
{
|
|
13809
|
+
"internalType": "address",
|
|
13810
|
+
"name": "newOwner",
|
|
13811
|
+
"type": "address"
|
|
13812
|
+
}
|
|
13813
|
+
],
|
|
13814
|
+
"name": "transferOwnership",
|
|
13815
|
+
"outputs": [],
|
|
13816
|
+
"stateMutability": "nonpayable",
|
|
13817
|
+
"type": "function"
|
|
13818
|
+
},
|
|
13819
|
+
{
|
|
13820
|
+
"inputs": [
|
|
13821
|
+
{
|
|
13822
|
+
"internalType": "address",
|
|
13823
|
+
"name": "_logic",
|
|
13824
|
+
"type": "address"
|
|
13825
|
+
},
|
|
13826
|
+
{
|
|
13827
|
+
"internalType": "address",
|
|
13828
|
+
"name": "admin_",
|
|
13829
|
+
"type": "address"
|
|
13830
|
+
},
|
|
13831
|
+
{
|
|
13832
|
+
"internalType": "bytes",
|
|
13833
|
+
"name": "_data",
|
|
13834
|
+
"type": "bytes"
|
|
13835
|
+
}
|
|
13836
|
+
],
|
|
13837
|
+
"stateMutability": "payable",
|
|
13838
|
+
"type": "constructor"
|
|
13839
|
+
}
|
|
13840
|
+
]
|
|
13841
|
+
},
|
|
13842
|
+
"USDTChainlinkOracle_Implementation": {
|
|
13843
|
+
"address": "0xFbf8979EE0b71653CAe299b56c0732bdCd860B04",
|
|
13844
|
+
"abi": [
|
|
13845
|
+
{
|
|
13846
|
+
"inputs": [],
|
|
13847
|
+
"stateMutability": "nonpayable",
|
|
13848
|
+
"type": "constructor"
|
|
13849
|
+
},
|
|
13850
|
+
{
|
|
13851
|
+
"inputs": [
|
|
13852
|
+
{
|
|
13853
|
+
"internalType": "address",
|
|
13854
|
+
"name": "sender",
|
|
13855
|
+
"type": "address"
|
|
13856
|
+
},
|
|
13857
|
+
{
|
|
13858
|
+
"internalType": "address",
|
|
13859
|
+
"name": "calledContract",
|
|
13860
|
+
"type": "address"
|
|
13861
|
+
},
|
|
13862
|
+
{
|
|
13863
|
+
"internalType": "string",
|
|
13864
|
+
"name": "methodSignature",
|
|
13865
|
+
"type": "string"
|
|
13866
|
+
}
|
|
13867
|
+
],
|
|
13868
|
+
"name": "Unauthorized",
|
|
13869
|
+
"type": "error"
|
|
13870
|
+
},
|
|
13871
|
+
{
|
|
13872
|
+
"anonymous": false,
|
|
13873
|
+
"inputs": [
|
|
13874
|
+
{
|
|
13875
|
+
"indexed": false,
|
|
13876
|
+
"internalType": "uint8",
|
|
13877
|
+
"name": "version",
|
|
13878
|
+
"type": "uint8"
|
|
13879
|
+
}
|
|
13880
|
+
],
|
|
13881
|
+
"name": "Initialized",
|
|
13882
|
+
"type": "event"
|
|
13883
|
+
},
|
|
13884
|
+
{
|
|
13885
|
+
"anonymous": false,
|
|
13886
|
+
"inputs": [
|
|
13887
|
+
{
|
|
13888
|
+
"indexed": false,
|
|
13889
|
+
"internalType": "address",
|
|
13890
|
+
"name": "oldAccessControlManager",
|
|
13891
|
+
"type": "address"
|
|
13892
|
+
},
|
|
13893
|
+
{
|
|
13894
|
+
"indexed": false,
|
|
13895
|
+
"internalType": "address",
|
|
13896
|
+
"name": "newAccessControlManager",
|
|
13897
|
+
"type": "address"
|
|
13898
|
+
}
|
|
13899
|
+
],
|
|
13900
|
+
"name": "NewAccessControlManager",
|
|
13901
|
+
"type": "event"
|
|
13902
|
+
},
|
|
13903
|
+
{
|
|
13904
|
+
"anonymous": false,
|
|
13905
|
+
"inputs": [
|
|
13906
|
+
{
|
|
13907
|
+
"indexed": true,
|
|
13908
|
+
"internalType": "address",
|
|
13909
|
+
"name": "previousOwner",
|
|
13910
|
+
"type": "address"
|
|
13911
|
+
},
|
|
13912
|
+
{
|
|
13913
|
+
"indexed": true,
|
|
13914
|
+
"internalType": "address",
|
|
13915
|
+
"name": "newOwner",
|
|
13916
|
+
"type": "address"
|
|
13917
|
+
}
|
|
13918
|
+
],
|
|
13919
|
+
"name": "OwnershipTransferStarted",
|
|
13920
|
+
"type": "event"
|
|
13921
|
+
},
|
|
13922
|
+
{
|
|
13923
|
+
"anonymous": false,
|
|
13924
|
+
"inputs": [
|
|
13925
|
+
{
|
|
13926
|
+
"indexed": true,
|
|
13927
|
+
"internalType": "address",
|
|
13928
|
+
"name": "previousOwner",
|
|
13929
|
+
"type": "address"
|
|
13930
|
+
},
|
|
13931
|
+
{
|
|
13932
|
+
"indexed": true,
|
|
13933
|
+
"internalType": "address",
|
|
13934
|
+
"name": "newOwner",
|
|
13935
|
+
"type": "address"
|
|
13936
|
+
}
|
|
13937
|
+
],
|
|
13938
|
+
"name": "OwnershipTransferred",
|
|
13939
|
+
"type": "event"
|
|
13940
|
+
},
|
|
13941
|
+
{
|
|
13942
|
+
"anonymous": false,
|
|
13943
|
+
"inputs": [
|
|
13944
|
+
{
|
|
13945
|
+
"indexed": true,
|
|
13946
|
+
"internalType": "address",
|
|
13947
|
+
"name": "asset",
|
|
13948
|
+
"type": "address"
|
|
13949
|
+
},
|
|
13950
|
+
{
|
|
13951
|
+
"indexed": false,
|
|
13952
|
+
"internalType": "uint256",
|
|
13953
|
+
"name": "previousPriceMantissa",
|
|
13954
|
+
"type": "uint256"
|
|
13955
|
+
},
|
|
13956
|
+
{
|
|
13957
|
+
"indexed": false,
|
|
13958
|
+
"internalType": "uint256",
|
|
13959
|
+
"name": "newPriceMantissa",
|
|
13960
|
+
"type": "uint256"
|
|
13961
|
+
}
|
|
13962
|
+
],
|
|
13963
|
+
"name": "PricePosted",
|
|
13964
|
+
"type": "event"
|
|
13965
|
+
},
|
|
13966
|
+
{
|
|
13967
|
+
"anonymous": false,
|
|
13968
|
+
"inputs": [
|
|
13969
|
+
{
|
|
13970
|
+
"indexed": true,
|
|
13971
|
+
"internalType": "address",
|
|
13972
|
+
"name": "asset",
|
|
13973
|
+
"type": "address"
|
|
13974
|
+
},
|
|
13975
|
+
{
|
|
13976
|
+
"indexed": false,
|
|
13977
|
+
"internalType": "address",
|
|
13978
|
+
"name": "feed",
|
|
13979
|
+
"type": "address"
|
|
13980
|
+
},
|
|
13981
|
+
{
|
|
13982
|
+
"indexed": false,
|
|
13983
|
+
"internalType": "uint256",
|
|
13984
|
+
"name": "maxStalePeriod",
|
|
13985
|
+
"type": "uint256"
|
|
13986
|
+
}
|
|
13987
|
+
],
|
|
13988
|
+
"name": "TokenConfigAdded",
|
|
13989
|
+
"type": "event"
|
|
13990
|
+
},
|
|
13991
|
+
{
|
|
13992
|
+
"inputs": [],
|
|
13993
|
+
"name": "NATIVE_TOKEN_ADDR",
|
|
13994
|
+
"outputs": [
|
|
13995
|
+
{
|
|
13996
|
+
"internalType": "address",
|
|
13997
|
+
"name": "",
|
|
13998
|
+
"type": "address"
|
|
13999
|
+
}
|
|
14000
|
+
],
|
|
14001
|
+
"stateMutability": "view",
|
|
14002
|
+
"type": "function"
|
|
14003
|
+
},
|
|
14004
|
+
{
|
|
14005
|
+
"inputs": [],
|
|
14006
|
+
"name": "acceptOwnership",
|
|
14007
|
+
"outputs": [],
|
|
14008
|
+
"stateMutability": "nonpayable",
|
|
14009
|
+
"type": "function"
|
|
14010
|
+
},
|
|
14011
|
+
{
|
|
14012
|
+
"inputs": [],
|
|
14013
|
+
"name": "accessControlManager",
|
|
14014
|
+
"outputs": [
|
|
14015
|
+
{
|
|
14016
|
+
"internalType": "contract IAccessControlManagerV8",
|
|
14017
|
+
"name": "",
|
|
14018
|
+
"type": "address"
|
|
14019
|
+
}
|
|
14020
|
+
],
|
|
14021
|
+
"stateMutability": "view",
|
|
14022
|
+
"type": "function"
|
|
14023
|
+
},
|
|
14024
|
+
{
|
|
14025
|
+
"inputs": [
|
|
14026
|
+
{
|
|
14027
|
+
"internalType": "address",
|
|
14028
|
+
"name": "asset",
|
|
14029
|
+
"type": "address"
|
|
14030
|
+
}
|
|
14031
|
+
],
|
|
14032
|
+
"name": "getPrice",
|
|
14033
|
+
"outputs": [
|
|
14034
|
+
{
|
|
14035
|
+
"internalType": "uint256",
|
|
14036
|
+
"name": "",
|
|
14037
|
+
"type": "uint256"
|
|
14038
|
+
}
|
|
14039
|
+
],
|
|
14040
|
+
"stateMutability": "view",
|
|
14041
|
+
"type": "function"
|
|
14042
|
+
},
|
|
14043
|
+
{
|
|
14044
|
+
"inputs": [
|
|
14045
|
+
{
|
|
14046
|
+
"internalType": "address",
|
|
14047
|
+
"name": "accessControlManager_",
|
|
14048
|
+
"type": "address"
|
|
14049
|
+
}
|
|
14050
|
+
],
|
|
14051
|
+
"name": "initialize",
|
|
14052
|
+
"outputs": [],
|
|
14053
|
+
"stateMutability": "nonpayable",
|
|
14054
|
+
"type": "function"
|
|
14055
|
+
},
|
|
14056
|
+
{
|
|
14057
|
+
"inputs": [],
|
|
14058
|
+
"name": "owner",
|
|
14059
|
+
"outputs": [
|
|
14060
|
+
{
|
|
14061
|
+
"internalType": "address",
|
|
14062
|
+
"name": "",
|
|
14063
|
+
"type": "address"
|
|
14064
|
+
}
|
|
14065
|
+
],
|
|
14066
|
+
"stateMutability": "view",
|
|
14067
|
+
"type": "function"
|
|
14068
|
+
},
|
|
14069
|
+
{
|
|
14070
|
+
"inputs": [],
|
|
14071
|
+
"name": "pendingOwner",
|
|
14072
|
+
"outputs": [
|
|
14073
|
+
{
|
|
14074
|
+
"internalType": "address",
|
|
14075
|
+
"name": "",
|
|
14076
|
+
"type": "address"
|
|
14077
|
+
}
|
|
14078
|
+
],
|
|
14079
|
+
"stateMutability": "view",
|
|
14080
|
+
"type": "function"
|
|
14081
|
+
},
|
|
14082
|
+
{
|
|
14083
|
+
"inputs": [
|
|
14084
|
+
{
|
|
14085
|
+
"internalType": "address",
|
|
14086
|
+
"name": "",
|
|
14087
|
+
"type": "address"
|
|
14088
|
+
}
|
|
14089
|
+
],
|
|
14090
|
+
"name": "prices",
|
|
14091
|
+
"outputs": [
|
|
14092
|
+
{
|
|
14093
|
+
"internalType": "uint256",
|
|
14094
|
+
"name": "",
|
|
14095
|
+
"type": "uint256"
|
|
14096
|
+
}
|
|
14097
|
+
],
|
|
14098
|
+
"stateMutability": "view",
|
|
14099
|
+
"type": "function"
|
|
14100
|
+
},
|
|
14101
|
+
{
|
|
14102
|
+
"inputs": [],
|
|
14103
|
+
"name": "renounceOwnership",
|
|
14104
|
+
"outputs": [],
|
|
14105
|
+
"stateMutability": "nonpayable",
|
|
14106
|
+
"type": "function"
|
|
14107
|
+
},
|
|
14108
|
+
{
|
|
14109
|
+
"inputs": [
|
|
14110
|
+
{
|
|
14111
|
+
"internalType": "address",
|
|
14112
|
+
"name": "accessControlManager_",
|
|
14113
|
+
"type": "address"
|
|
14114
|
+
}
|
|
14115
|
+
],
|
|
14116
|
+
"name": "setAccessControlManager",
|
|
14117
|
+
"outputs": [],
|
|
14118
|
+
"stateMutability": "nonpayable",
|
|
14119
|
+
"type": "function"
|
|
14120
|
+
},
|
|
14121
|
+
{
|
|
14122
|
+
"inputs": [
|
|
14123
|
+
{
|
|
14124
|
+
"internalType": "address",
|
|
14125
|
+
"name": "asset",
|
|
14126
|
+
"type": "address"
|
|
14127
|
+
},
|
|
14128
|
+
{
|
|
14129
|
+
"internalType": "uint256",
|
|
14130
|
+
"name": "price",
|
|
14131
|
+
"type": "uint256"
|
|
14132
|
+
}
|
|
14133
|
+
],
|
|
14134
|
+
"name": "setDirectPrice",
|
|
14135
|
+
"outputs": [],
|
|
14136
|
+
"stateMutability": "nonpayable",
|
|
14137
|
+
"type": "function"
|
|
14138
|
+
},
|
|
14139
|
+
{
|
|
14140
|
+
"inputs": [
|
|
14141
|
+
{
|
|
14142
|
+
"components": [
|
|
14143
|
+
{
|
|
14144
|
+
"internalType": "address",
|
|
14145
|
+
"name": "asset",
|
|
14146
|
+
"type": "address"
|
|
14147
|
+
},
|
|
14148
|
+
{
|
|
14149
|
+
"internalType": "address",
|
|
14150
|
+
"name": "feed",
|
|
14151
|
+
"type": "address"
|
|
14152
|
+
},
|
|
14153
|
+
{
|
|
14154
|
+
"internalType": "uint256",
|
|
14155
|
+
"name": "maxStalePeriod",
|
|
14156
|
+
"type": "uint256"
|
|
14157
|
+
}
|
|
14158
|
+
],
|
|
14159
|
+
"internalType": "struct ChainlinkOracle.TokenConfig",
|
|
14160
|
+
"name": "tokenConfig",
|
|
14161
|
+
"type": "tuple"
|
|
14162
|
+
}
|
|
14163
|
+
],
|
|
14164
|
+
"name": "setTokenConfig",
|
|
14165
|
+
"outputs": [],
|
|
14166
|
+
"stateMutability": "nonpayable",
|
|
14167
|
+
"type": "function"
|
|
14168
|
+
},
|
|
14169
|
+
{
|
|
14170
|
+
"inputs": [
|
|
14171
|
+
{
|
|
14172
|
+
"components": [
|
|
14173
|
+
{
|
|
14174
|
+
"internalType": "address",
|
|
14175
|
+
"name": "asset",
|
|
14176
|
+
"type": "address"
|
|
14177
|
+
},
|
|
14178
|
+
{
|
|
14179
|
+
"internalType": "address",
|
|
14180
|
+
"name": "feed",
|
|
14181
|
+
"type": "address"
|
|
14182
|
+
},
|
|
14183
|
+
{
|
|
14184
|
+
"internalType": "uint256",
|
|
14185
|
+
"name": "maxStalePeriod",
|
|
14186
|
+
"type": "uint256"
|
|
14187
|
+
}
|
|
14188
|
+
],
|
|
14189
|
+
"internalType": "struct ChainlinkOracle.TokenConfig[]",
|
|
14190
|
+
"name": "tokenConfigs_",
|
|
14191
|
+
"type": "tuple[]"
|
|
14192
|
+
}
|
|
14193
|
+
],
|
|
14194
|
+
"name": "setTokenConfigs",
|
|
14195
|
+
"outputs": [],
|
|
14196
|
+
"stateMutability": "nonpayable",
|
|
14197
|
+
"type": "function"
|
|
14198
|
+
},
|
|
14199
|
+
{
|
|
14200
|
+
"inputs": [
|
|
14201
|
+
{
|
|
14202
|
+
"internalType": "address",
|
|
14203
|
+
"name": "",
|
|
14204
|
+
"type": "address"
|
|
14205
|
+
}
|
|
14206
|
+
],
|
|
14207
|
+
"name": "tokenConfigs",
|
|
14208
|
+
"outputs": [
|
|
14209
|
+
{
|
|
14210
|
+
"internalType": "address",
|
|
14211
|
+
"name": "asset",
|
|
14212
|
+
"type": "address"
|
|
14213
|
+
},
|
|
14214
|
+
{
|
|
14215
|
+
"internalType": "address",
|
|
14216
|
+
"name": "feed",
|
|
14217
|
+
"type": "address"
|
|
14218
|
+
},
|
|
14219
|
+
{
|
|
14220
|
+
"internalType": "uint256",
|
|
14221
|
+
"name": "maxStalePeriod",
|
|
14222
|
+
"type": "uint256"
|
|
14223
|
+
}
|
|
14224
|
+
],
|
|
14225
|
+
"stateMutability": "view",
|
|
14226
|
+
"type": "function"
|
|
14227
|
+
},
|
|
14228
|
+
{
|
|
14229
|
+
"inputs": [
|
|
14230
|
+
{
|
|
14231
|
+
"internalType": "address",
|
|
14232
|
+
"name": "newOwner",
|
|
14233
|
+
"type": "address"
|
|
14234
|
+
}
|
|
14235
|
+
],
|
|
14236
|
+
"name": "transferOwnership",
|
|
14237
|
+
"outputs": [],
|
|
14238
|
+
"stateMutability": "nonpayable",
|
|
14239
|
+
"type": "function"
|
|
14240
|
+
}
|
|
14241
|
+
]
|
|
14242
|
+
},
|
|
14243
|
+
"USDTChainlinkOracle_Proxy": {
|
|
14244
|
+
"address": "0x188b608544Fa32D313DE3BBB0480a238c0906e2a",
|
|
14245
|
+
"abi": [
|
|
14246
|
+
{
|
|
14247
|
+
"inputs": [
|
|
14248
|
+
{
|
|
14249
|
+
"internalType": "address",
|
|
14250
|
+
"name": "_logic",
|
|
14251
|
+
"type": "address"
|
|
14252
|
+
},
|
|
14253
|
+
{
|
|
14254
|
+
"internalType": "address",
|
|
14255
|
+
"name": "admin_",
|
|
14256
|
+
"type": "address"
|
|
14257
|
+
},
|
|
14258
|
+
{
|
|
14259
|
+
"internalType": "bytes",
|
|
14260
|
+
"name": "_data",
|
|
14261
|
+
"type": "bytes"
|
|
14262
|
+
}
|
|
14263
|
+
],
|
|
14264
|
+
"stateMutability": "payable",
|
|
14265
|
+
"type": "constructor"
|
|
14266
|
+
},
|
|
14267
|
+
{
|
|
14268
|
+
"anonymous": false,
|
|
14269
|
+
"inputs": [
|
|
14270
|
+
{
|
|
14271
|
+
"indexed": false,
|
|
14272
|
+
"internalType": "address",
|
|
14273
|
+
"name": "previousAdmin",
|
|
14274
|
+
"type": "address"
|
|
14275
|
+
},
|
|
14276
|
+
{
|
|
14277
|
+
"indexed": false,
|
|
14278
|
+
"internalType": "address",
|
|
14279
|
+
"name": "newAdmin",
|
|
14280
|
+
"type": "address"
|
|
14281
|
+
}
|
|
14282
|
+
],
|
|
14283
|
+
"name": "AdminChanged",
|
|
14284
|
+
"type": "event"
|
|
14285
|
+
},
|
|
14286
|
+
{
|
|
14287
|
+
"anonymous": false,
|
|
14288
|
+
"inputs": [
|
|
14289
|
+
{
|
|
14290
|
+
"indexed": true,
|
|
14291
|
+
"internalType": "address",
|
|
14292
|
+
"name": "beacon",
|
|
14293
|
+
"type": "address"
|
|
14294
|
+
}
|
|
14295
|
+
],
|
|
14296
|
+
"name": "BeaconUpgraded",
|
|
14297
|
+
"type": "event"
|
|
14298
|
+
},
|
|
14299
|
+
{
|
|
14300
|
+
"anonymous": false,
|
|
14301
|
+
"inputs": [
|
|
14302
|
+
{
|
|
14303
|
+
"indexed": true,
|
|
14304
|
+
"internalType": "address",
|
|
14305
|
+
"name": "implementation",
|
|
14306
|
+
"type": "address"
|
|
14307
|
+
}
|
|
14308
|
+
],
|
|
14309
|
+
"name": "Upgraded",
|
|
14310
|
+
"type": "event"
|
|
14311
|
+
},
|
|
14312
|
+
{
|
|
14313
|
+
"stateMutability": "payable",
|
|
14314
|
+
"type": "fallback"
|
|
14315
|
+
},
|
|
14316
|
+
{
|
|
14317
|
+
"inputs": [],
|
|
14318
|
+
"name": "admin",
|
|
14319
|
+
"outputs": [
|
|
14320
|
+
{
|
|
14321
|
+
"internalType": "address",
|
|
14322
|
+
"name": "admin_",
|
|
14323
|
+
"type": "address"
|
|
14324
|
+
}
|
|
14325
|
+
],
|
|
14326
|
+
"stateMutability": "nonpayable",
|
|
14327
|
+
"type": "function"
|
|
14328
|
+
},
|
|
14329
|
+
{
|
|
14330
|
+
"inputs": [],
|
|
14331
|
+
"name": "implementation",
|
|
14332
|
+
"outputs": [
|
|
14333
|
+
{
|
|
14334
|
+
"internalType": "address",
|
|
14335
|
+
"name": "implementation_",
|
|
14336
|
+
"type": "address"
|
|
14337
|
+
}
|
|
14338
|
+
],
|
|
14339
|
+
"stateMutability": "nonpayable",
|
|
14340
|
+
"type": "function"
|
|
14341
|
+
},
|
|
14342
|
+
{
|
|
14343
|
+
"inputs": [
|
|
14344
|
+
{
|
|
14345
|
+
"internalType": "address",
|
|
14346
|
+
"name": "newImplementation",
|
|
14347
|
+
"type": "address"
|
|
14348
|
+
}
|
|
14349
|
+
],
|
|
14350
|
+
"name": "upgradeTo",
|
|
14351
|
+
"outputs": [],
|
|
14352
|
+
"stateMutability": "nonpayable",
|
|
14353
|
+
"type": "function"
|
|
14354
|
+
},
|
|
14355
|
+
{
|
|
14356
|
+
"inputs": [
|
|
14357
|
+
{
|
|
14358
|
+
"internalType": "address",
|
|
14359
|
+
"name": "newImplementation",
|
|
14360
|
+
"type": "address"
|
|
14361
|
+
},
|
|
14362
|
+
{
|
|
14363
|
+
"internalType": "bytes",
|
|
14364
|
+
"name": "data",
|
|
14365
|
+
"type": "bytes"
|
|
14366
|
+
}
|
|
14367
|
+
],
|
|
14368
|
+
"name": "upgradeToAndCall",
|
|
14369
|
+
"outputs": [],
|
|
14370
|
+
"stateMutability": "payable",
|
|
14371
|
+
"type": "function"
|
|
14372
|
+
},
|
|
14373
|
+
{
|
|
14374
|
+
"stateMutability": "payable",
|
|
14375
|
+
"type": "receive"
|
|
14376
|
+
}
|
|
14377
|
+
]
|
|
14378
|
+
},
|
|
13315
14379
|
"WBETHOracle": {
|
|
13316
14380
|
"address": "0x80f80ad1d963673819752c234339901fa19fA7cb",
|
|
13317
14381
|
"abi": [
|