@juicedollar/jusd 1.0.6 → 1.1.1
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 +0 -26
- package/contracts/MintingHubV2/MintingHub.sol +80 -16
- package/contracts/MintingHubV2/Position.sol +80 -24
- package/contracts/MintingHubV2/interface/IMintingHub.sol +24 -2
- package/contracts/SavingsVaultJUSD.sol +14 -21
- package/contracts/StablecoinBridge.sol +49 -4
- package/contracts/interface/IReserve.sol +2 -0
- package/contracts/test/PositionExpirationTest.sol +2 -2
- package/contracts/test/PositionRollingTest.sol +2 -2
- package/dist/index.d.mts +269 -0
- package/dist/index.d.ts +269 -0
- package/dist/index.js +362 -23
- package/dist/index.mjs +362 -23
- package/exports/abis/MintingHubV2/PositionV2.ts +21 -0
- package/exports/abis/core/MintingHubGateway.ts +118 -0
- package/exports/abis/core/SavingsVaultJUSD.ts +5 -0
- package/exports/abis/utils/MintingHubV2.ts +118 -0
- package/exports/abis/utils/StablecoinBridge.ts +70 -0
- package/exports/address.config.ts +40 -26
- package/exports/index.ts +0 -3
- package/package.json +9 -5
package/dist/index.js
CHANGED
|
@@ -45,32 +45,39 @@ module.exports = __toCommonJS(exports_exports);
|
|
|
45
45
|
// exports/address.config.ts
|
|
46
46
|
var import_viem = require("viem");
|
|
47
47
|
var ADDRESS = {
|
|
48
|
-
|
|
49
|
-
// Citrea Mainnet
|
|
50
|
-
juiceDollar:
|
|
51
|
-
equity:
|
|
52
|
-
frontendGateway:
|
|
53
|
-
savingsGateway:
|
|
54
|
-
savingsVaultJUSD:
|
|
55
|
-
mintingHubGateway:
|
|
56
|
-
bridgeStartUSD:
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
48
|
+
4114: {
|
|
49
|
+
// Citrea Mainnet
|
|
50
|
+
juiceDollar: "0x0987D3720D38847ac6dBB9D025B9dE892a3CA35C",
|
|
51
|
+
equity: "0x2A36f2b204B46Fd82653cd06d00c7fF757C99ae4",
|
|
52
|
+
frontendGateway: "0x3090a89A1fF5DC99117BE655599e5491A0BaBB92",
|
|
53
|
+
savingsGateway: "0x22FE239892eBC8805DA8f05eD3bc6aF75332b60b",
|
|
54
|
+
savingsVaultJUSD: "0x1b70ae756b1089cc5948e4f8a2AD498DF30E897d",
|
|
55
|
+
mintingHubGateway: "0x1a20B160bf546774246C7920939E6e7Ac0f88b8e",
|
|
56
|
+
bridgeStartUSD: "0x51ff8141D731676Fb21aE1E5D5A88c04511994dD",
|
|
57
|
+
bridgeUSDC: "0x920DB0aDf6fEe2D69401e9f68D60319177dCa20F",
|
|
58
|
+
bridgeUSDT: "0x5CC0e668F8BA61E111B6168E19d17d3C65040614",
|
|
59
|
+
bridgeCTUSD: "0x8D11020286aF9ecf7E5D7bD79699c391b224a0bd",
|
|
60
|
+
startUSD: "0xD41ab73aF9c7324b9c7c6e63dE1aeC666d98bc80",
|
|
61
|
+
USDC: "0xE045e6c36cF77FAA2CfB54466D71A3aEF7bbE839",
|
|
62
|
+
USDT: "0x9f3096Bac87e7F03DC09b0B416eB0DF837304dc4",
|
|
63
|
+
CTUSD: "0x8D82c4E3c936C7B5724A382a9c5a4E6Eb7aB6d5D",
|
|
64
|
+
roller: "0xC1b97398c06B9C6a49Fd9dCFAC8907700301e9Ac",
|
|
65
|
+
positionFactoryV2: "0x107eDf5f030d724bD0C73f88A300bEA09AE581e2",
|
|
60
66
|
genesisPosition: import_viem.zeroAddress
|
|
67
|
+
// Not created - insufficient collateral
|
|
61
68
|
},
|
|
62
69
|
5115: {
|
|
63
|
-
juiceDollar: "
|
|
64
|
-
equity: "
|
|
65
|
-
frontendGateway: "
|
|
66
|
-
savingsGateway: "
|
|
67
|
-
savingsVaultJUSD: "
|
|
68
|
-
mintingHubGateway: "
|
|
69
|
-
bridgeStartUSD: "
|
|
70
|
-
startUSD: "
|
|
71
|
-
roller: "
|
|
72
|
-
positionFactoryV2: "
|
|
73
|
-
genesisPosition: "
|
|
70
|
+
juiceDollar: "0x6a850a548fdd050e8961223ec8FfCDfacEa57E39",
|
|
71
|
+
equity: "0x7fa131991c8A7d8C21b11391C977Fc7c4c8e0D5E",
|
|
72
|
+
frontendGateway: "0xd824b7d36594Fc3088B1D91a79F34931AA2a15D0",
|
|
73
|
+
savingsGateway: "0x54430781b33581CE2b0DBD837CA66113BeEEFD8e",
|
|
74
|
+
savingsVaultJUSD: "0x802a29bD29f02c8C477Af5362f9ba88FAe39Cc7B",
|
|
75
|
+
mintingHubGateway: "0x5fC684074fBaAE37Eb68d3e48D85f485CE5060F8",
|
|
76
|
+
bridgeStartUSD: "0x9ba2264bE7695044f59B9ca863E69aC38B3c913d",
|
|
77
|
+
startUSD: "0x8398Da4c32eaE51B9840DA230095BB29F4179590",
|
|
78
|
+
roller: "0x8A50329559Ae3F2BaA1fC8BC59Fcd52958c61caC",
|
|
79
|
+
positionFactoryV2: "0x2990c3219ED2763685D4420f5513feEa8991a7ee",
|
|
80
|
+
genesisPosition: "0x236375455eBDF941a83Ecda3eECaf2288B6A0f40"
|
|
74
81
|
}
|
|
75
82
|
};
|
|
76
83
|
|
|
@@ -3681,6 +3688,11 @@ var MintingHubGatewayABI = [
|
|
|
3681
3688
|
name: "ChallengeTimeTooShort",
|
|
3682
3689
|
type: "error"
|
|
3683
3690
|
},
|
|
3691
|
+
{
|
|
3692
|
+
inputs: [],
|
|
3693
|
+
name: "EmptyMessage",
|
|
3694
|
+
type: "error"
|
|
3695
|
+
},
|
|
3684
3696
|
{
|
|
3685
3697
|
inputs: [],
|
|
3686
3698
|
name: "IncompatibleCollateral",
|
|
@@ -3727,6 +3739,22 @@ var MintingHubGatewayABI = [
|
|
|
3727
3739
|
name: "LeaveNoDust",
|
|
3728
3740
|
type: "error"
|
|
3729
3741
|
},
|
|
3742
|
+
{
|
|
3743
|
+
inputs: [
|
|
3744
|
+
{
|
|
3745
|
+
internalType: "uint256",
|
|
3746
|
+
name: "length",
|
|
3747
|
+
type: "uint256"
|
|
3748
|
+
},
|
|
3749
|
+
{
|
|
3750
|
+
internalType: "uint256",
|
|
3751
|
+
name: "maxLength",
|
|
3752
|
+
type: "uint256"
|
|
3753
|
+
}
|
|
3754
|
+
],
|
|
3755
|
+
name: "MessageTooLong",
|
|
3756
|
+
type: "error"
|
|
3757
|
+
},
|
|
3730
3758
|
{
|
|
3731
3759
|
inputs: [],
|
|
3732
3760
|
name: "NativeOnlyForWCBTC",
|
|
@@ -3865,6 +3893,31 @@ var MintingHubGatewayABI = [
|
|
|
3865
3893
|
name: "ForcedSale",
|
|
3866
3894
|
type: "event"
|
|
3867
3895
|
},
|
|
3896
|
+
{
|
|
3897
|
+
anonymous: false,
|
|
3898
|
+
inputs: [
|
|
3899
|
+
{
|
|
3900
|
+
indexed: true,
|
|
3901
|
+
internalType: "address",
|
|
3902
|
+
name: "position",
|
|
3903
|
+
type: "address"
|
|
3904
|
+
},
|
|
3905
|
+
{
|
|
3906
|
+
indexed: true,
|
|
3907
|
+
internalType: "address",
|
|
3908
|
+
name: "denier",
|
|
3909
|
+
type: "address"
|
|
3910
|
+
},
|
|
3911
|
+
{
|
|
3912
|
+
indexed: false,
|
|
3913
|
+
internalType: "string",
|
|
3914
|
+
name: "message",
|
|
3915
|
+
type: "string"
|
|
3916
|
+
}
|
|
3917
|
+
],
|
|
3918
|
+
name: "PositionDeniedByGovernance",
|
|
3919
|
+
type: "event"
|
|
3920
|
+
},
|
|
3868
3921
|
{
|
|
3869
3922
|
anonymous: false,
|
|
3870
3923
|
inputs: [
|
|
@@ -3896,6 +3949,37 @@ var MintingHubGatewayABI = [
|
|
|
3896
3949
|
name: "PositionOpened",
|
|
3897
3950
|
type: "event"
|
|
3898
3951
|
},
|
|
3952
|
+
{
|
|
3953
|
+
anonymous: false,
|
|
3954
|
+
inputs: [
|
|
3955
|
+
{
|
|
3956
|
+
indexed: true,
|
|
3957
|
+
internalType: "address",
|
|
3958
|
+
name: "position",
|
|
3959
|
+
type: "address"
|
|
3960
|
+
},
|
|
3961
|
+
{
|
|
3962
|
+
indexed: false,
|
|
3963
|
+
internalType: "uint256",
|
|
3964
|
+
name: "collateral",
|
|
3965
|
+
type: "uint256"
|
|
3966
|
+
},
|
|
3967
|
+
{
|
|
3968
|
+
indexed: false,
|
|
3969
|
+
internalType: "uint256",
|
|
3970
|
+
name: "price",
|
|
3971
|
+
type: "uint256"
|
|
3972
|
+
},
|
|
3973
|
+
{
|
|
3974
|
+
indexed: false,
|
|
3975
|
+
internalType: "uint256",
|
|
3976
|
+
name: "principal",
|
|
3977
|
+
type: "uint256"
|
|
3978
|
+
}
|
|
3979
|
+
],
|
|
3980
|
+
name: "PositionUpdate",
|
|
3981
|
+
type: "event"
|
|
3982
|
+
},
|
|
3899
3983
|
{
|
|
3900
3984
|
anonymous: false,
|
|
3901
3985
|
inputs: [
|
|
@@ -4285,6 +4369,47 @@ var MintingHubGatewayABI = [
|
|
|
4285
4369
|
stateMutability: "payable",
|
|
4286
4370
|
type: "function"
|
|
4287
4371
|
},
|
|
4372
|
+
{
|
|
4373
|
+
inputs: [
|
|
4374
|
+
{
|
|
4375
|
+
internalType: "address",
|
|
4376
|
+
name: "denier",
|
|
4377
|
+
type: "address"
|
|
4378
|
+
},
|
|
4379
|
+
{
|
|
4380
|
+
internalType: "string",
|
|
4381
|
+
name: "message",
|
|
4382
|
+
type: "string"
|
|
4383
|
+
}
|
|
4384
|
+
],
|
|
4385
|
+
name: "emitPositionDenied",
|
|
4386
|
+
outputs: [],
|
|
4387
|
+
stateMutability: "nonpayable",
|
|
4388
|
+
type: "function"
|
|
4389
|
+
},
|
|
4390
|
+
{
|
|
4391
|
+
inputs: [
|
|
4392
|
+
{
|
|
4393
|
+
internalType: "uint256",
|
|
4394
|
+
name: "_collateral",
|
|
4395
|
+
type: "uint256"
|
|
4396
|
+
},
|
|
4397
|
+
{
|
|
4398
|
+
internalType: "uint256",
|
|
4399
|
+
name: "_price",
|
|
4400
|
+
type: "uint256"
|
|
4401
|
+
},
|
|
4402
|
+
{
|
|
4403
|
+
internalType: "uint256",
|
|
4404
|
+
name: "_principal",
|
|
4405
|
+
type: "uint256"
|
|
4406
|
+
}
|
|
4407
|
+
],
|
|
4408
|
+
name: "emitPositionUpdate",
|
|
4409
|
+
outputs: [],
|
|
4410
|
+
stateMutability: "nonpayable",
|
|
4411
|
+
type: "function"
|
|
4412
|
+
},
|
|
4288
4413
|
{
|
|
4289
4414
|
inputs: [
|
|
4290
4415
|
{
|
|
@@ -5345,6 +5470,11 @@ var SavingsVaultJUSDABI = [
|
|
|
5345
5470
|
name: "SafeERC20FailedOperation",
|
|
5346
5471
|
type: "error"
|
|
5347
5472
|
},
|
|
5473
|
+
{
|
|
5474
|
+
inputs: [],
|
|
5475
|
+
name: "ZeroShares",
|
|
5476
|
+
type: "error"
|
|
5477
|
+
},
|
|
5348
5478
|
{
|
|
5349
5479
|
anonymous: false,
|
|
5350
5480
|
inputs: [
|
|
@@ -6489,6 +6619,11 @@ var PositionV2ABI = [
|
|
|
6489
6619
|
name: "Closed",
|
|
6490
6620
|
type: "error"
|
|
6491
6621
|
},
|
|
6622
|
+
{
|
|
6623
|
+
inputs: [],
|
|
6624
|
+
name: "EmptyMessage",
|
|
6625
|
+
type: "error"
|
|
6626
|
+
},
|
|
6492
6627
|
{
|
|
6493
6628
|
inputs: [
|
|
6494
6629
|
{
|
|
@@ -6552,6 +6687,22 @@ var PositionV2ABI = [
|
|
|
6552
6687
|
name: "LimitExceeded",
|
|
6553
6688
|
type: "error"
|
|
6554
6689
|
},
|
|
6690
|
+
{
|
|
6691
|
+
inputs: [
|
|
6692
|
+
{
|
|
6693
|
+
internalType: "uint256",
|
|
6694
|
+
name: "length",
|
|
6695
|
+
type: "uint256"
|
|
6696
|
+
},
|
|
6697
|
+
{
|
|
6698
|
+
internalType: "uint256",
|
|
6699
|
+
name: "maxLength",
|
|
6700
|
+
type: "uint256"
|
|
6701
|
+
}
|
|
6702
|
+
],
|
|
6703
|
+
name: "MessageTooLong",
|
|
6704
|
+
type: "error"
|
|
6705
|
+
},
|
|
6555
6706
|
{
|
|
6556
6707
|
inputs: [],
|
|
6557
6708
|
name: "NativeTransferFailed",
|
|
@@ -9583,6 +9734,11 @@ var StablecoinBridgeABI = [
|
|
|
9583
9734
|
stateMutability: "nonpayable",
|
|
9584
9735
|
type: "constructor"
|
|
9585
9736
|
},
|
|
9737
|
+
{
|
|
9738
|
+
inputs: [],
|
|
9739
|
+
name: "AlreadyStopped",
|
|
9740
|
+
type: "error"
|
|
9741
|
+
},
|
|
9586
9742
|
{
|
|
9587
9743
|
inputs: [
|
|
9588
9744
|
{
|
|
@@ -9615,6 +9771,16 @@ var StablecoinBridgeABI = [
|
|
|
9615
9771
|
name: "Limit",
|
|
9616
9772
|
type: "error"
|
|
9617
9773
|
},
|
|
9774
|
+
{
|
|
9775
|
+
inputs: [],
|
|
9776
|
+
name: "NoGovernance",
|
|
9777
|
+
type: "error"
|
|
9778
|
+
},
|
|
9779
|
+
{
|
|
9780
|
+
inputs: [],
|
|
9781
|
+
name: "NotQualified",
|
|
9782
|
+
type: "error"
|
|
9783
|
+
},
|
|
9618
9784
|
{
|
|
9619
9785
|
inputs: [
|
|
9620
9786
|
{
|
|
@@ -9626,6 +9792,11 @@ var StablecoinBridgeABI = [
|
|
|
9626
9792
|
name: "SafeERC20FailedOperation",
|
|
9627
9793
|
type: "error"
|
|
9628
9794
|
},
|
|
9795
|
+
{
|
|
9796
|
+
inputs: [],
|
|
9797
|
+
name: "Stopped",
|
|
9798
|
+
type: "error"
|
|
9799
|
+
},
|
|
9629
9800
|
{
|
|
9630
9801
|
inputs: [
|
|
9631
9802
|
{
|
|
@@ -9637,6 +9808,25 @@ var StablecoinBridgeABI = [
|
|
|
9637
9808
|
name: "UnsupportedToken",
|
|
9638
9809
|
type: "error"
|
|
9639
9810
|
},
|
|
9811
|
+
{
|
|
9812
|
+
anonymous: false,
|
|
9813
|
+
inputs: [
|
|
9814
|
+
{
|
|
9815
|
+
indexed: true,
|
|
9816
|
+
internalType: "address",
|
|
9817
|
+
name: "caller",
|
|
9818
|
+
type: "address"
|
|
9819
|
+
},
|
|
9820
|
+
{
|
|
9821
|
+
indexed: false,
|
|
9822
|
+
internalType: "string",
|
|
9823
|
+
name: "message",
|
|
9824
|
+
type: "string"
|
|
9825
|
+
}
|
|
9826
|
+
],
|
|
9827
|
+
name: "EmergencyStopped",
|
|
9828
|
+
type: "event"
|
|
9829
|
+
},
|
|
9640
9830
|
{
|
|
9641
9831
|
inputs: [],
|
|
9642
9832
|
name: "JUSD",
|
|
@@ -9681,6 +9871,24 @@ var StablecoinBridgeABI = [
|
|
|
9681
9871
|
stateMutability: "nonpayable",
|
|
9682
9872
|
type: "function"
|
|
9683
9873
|
},
|
|
9874
|
+
{
|
|
9875
|
+
inputs: [
|
|
9876
|
+
{
|
|
9877
|
+
internalType: "address[]",
|
|
9878
|
+
name: "_helpers",
|
|
9879
|
+
type: "address[]"
|
|
9880
|
+
},
|
|
9881
|
+
{
|
|
9882
|
+
internalType: "string",
|
|
9883
|
+
name: "_message",
|
|
9884
|
+
type: "string"
|
|
9885
|
+
}
|
|
9886
|
+
],
|
|
9887
|
+
name: "emergencyStop",
|
|
9888
|
+
outputs: [],
|
|
9889
|
+
stateMutability: "nonpayable",
|
|
9890
|
+
type: "function"
|
|
9891
|
+
},
|
|
9684
9892
|
{
|
|
9685
9893
|
inputs: [],
|
|
9686
9894
|
name: "horizon",
|
|
@@ -9751,6 +9959,19 @@ var StablecoinBridgeABI = [
|
|
|
9751
9959
|
stateMutability: "view",
|
|
9752
9960
|
type: "function"
|
|
9753
9961
|
},
|
|
9962
|
+
{
|
|
9963
|
+
inputs: [],
|
|
9964
|
+
name: "stopped",
|
|
9965
|
+
outputs: [
|
|
9966
|
+
{
|
|
9967
|
+
internalType: "bool",
|
|
9968
|
+
name: "",
|
|
9969
|
+
type: "bool"
|
|
9970
|
+
}
|
|
9971
|
+
],
|
|
9972
|
+
stateMutability: "view",
|
|
9973
|
+
type: "function"
|
|
9974
|
+
},
|
|
9754
9975
|
{
|
|
9755
9976
|
inputs: [],
|
|
9756
9977
|
name: "usd",
|
|
@@ -9804,6 +10025,11 @@ var MintingHubV2ABI = [
|
|
|
9804
10025
|
name: "ChallengeTimeTooShort",
|
|
9805
10026
|
type: "error"
|
|
9806
10027
|
},
|
|
10028
|
+
{
|
|
10029
|
+
inputs: [],
|
|
10030
|
+
name: "EmptyMessage",
|
|
10031
|
+
type: "error"
|
|
10032
|
+
},
|
|
9807
10033
|
{
|
|
9808
10034
|
inputs: [],
|
|
9809
10035
|
name: "IncompatibleCollateral",
|
|
@@ -9850,6 +10076,22 @@ var MintingHubV2ABI = [
|
|
|
9850
10076
|
name: "LeaveNoDust",
|
|
9851
10077
|
type: "error"
|
|
9852
10078
|
},
|
|
10079
|
+
{
|
|
10080
|
+
inputs: [
|
|
10081
|
+
{
|
|
10082
|
+
internalType: "uint256",
|
|
10083
|
+
name: "length",
|
|
10084
|
+
type: "uint256"
|
|
10085
|
+
},
|
|
10086
|
+
{
|
|
10087
|
+
internalType: "uint256",
|
|
10088
|
+
name: "maxLength",
|
|
10089
|
+
type: "uint256"
|
|
10090
|
+
}
|
|
10091
|
+
],
|
|
10092
|
+
name: "MessageTooLong",
|
|
10093
|
+
type: "error"
|
|
10094
|
+
},
|
|
9853
10095
|
{
|
|
9854
10096
|
inputs: [],
|
|
9855
10097
|
name: "NativeOnlyForWCBTC",
|
|
@@ -9988,6 +10230,31 @@ var MintingHubV2ABI = [
|
|
|
9988
10230
|
name: "ForcedSale",
|
|
9989
10231
|
type: "event"
|
|
9990
10232
|
},
|
|
10233
|
+
{
|
|
10234
|
+
anonymous: false,
|
|
10235
|
+
inputs: [
|
|
10236
|
+
{
|
|
10237
|
+
indexed: true,
|
|
10238
|
+
internalType: "address",
|
|
10239
|
+
name: "position",
|
|
10240
|
+
type: "address"
|
|
10241
|
+
},
|
|
10242
|
+
{
|
|
10243
|
+
indexed: true,
|
|
10244
|
+
internalType: "address",
|
|
10245
|
+
name: "denier",
|
|
10246
|
+
type: "address"
|
|
10247
|
+
},
|
|
10248
|
+
{
|
|
10249
|
+
indexed: false,
|
|
10250
|
+
internalType: "string",
|
|
10251
|
+
name: "message",
|
|
10252
|
+
type: "string"
|
|
10253
|
+
}
|
|
10254
|
+
],
|
|
10255
|
+
name: "PositionDeniedByGovernance",
|
|
10256
|
+
type: "event"
|
|
10257
|
+
},
|
|
9991
10258
|
{
|
|
9992
10259
|
anonymous: false,
|
|
9993
10260
|
inputs: [
|
|
@@ -10019,6 +10286,37 @@ var MintingHubV2ABI = [
|
|
|
10019
10286
|
name: "PositionOpened",
|
|
10020
10287
|
type: "event"
|
|
10021
10288
|
},
|
|
10289
|
+
{
|
|
10290
|
+
anonymous: false,
|
|
10291
|
+
inputs: [
|
|
10292
|
+
{
|
|
10293
|
+
indexed: true,
|
|
10294
|
+
internalType: "address",
|
|
10295
|
+
name: "position",
|
|
10296
|
+
type: "address"
|
|
10297
|
+
},
|
|
10298
|
+
{
|
|
10299
|
+
indexed: false,
|
|
10300
|
+
internalType: "uint256",
|
|
10301
|
+
name: "collateral",
|
|
10302
|
+
type: "uint256"
|
|
10303
|
+
},
|
|
10304
|
+
{
|
|
10305
|
+
indexed: false,
|
|
10306
|
+
internalType: "uint256",
|
|
10307
|
+
name: "price",
|
|
10308
|
+
type: "uint256"
|
|
10309
|
+
},
|
|
10310
|
+
{
|
|
10311
|
+
indexed: false,
|
|
10312
|
+
internalType: "uint256",
|
|
10313
|
+
name: "principal",
|
|
10314
|
+
type: "uint256"
|
|
10315
|
+
}
|
|
10316
|
+
],
|
|
10317
|
+
name: "PositionUpdate",
|
|
10318
|
+
type: "event"
|
|
10319
|
+
},
|
|
10022
10320
|
{
|
|
10023
10321
|
anonymous: false,
|
|
10024
10322
|
inputs: [
|
|
@@ -10346,6 +10644,47 @@ var MintingHubV2ABI = [
|
|
|
10346
10644
|
stateMutability: "payable",
|
|
10347
10645
|
type: "function"
|
|
10348
10646
|
},
|
|
10647
|
+
{
|
|
10648
|
+
inputs: [
|
|
10649
|
+
{
|
|
10650
|
+
internalType: "address",
|
|
10651
|
+
name: "denier",
|
|
10652
|
+
type: "address"
|
|
10653
|
+
},
|
|
10654
|
+
{
|
|
10655
|
+
internalType: "string",
|
|
10656
|
+
name: "message",
|
|
10657
|
+
type: "string"
|
|
10658
|
+
}
|
|
10659
|
+
],
|
|
10660
|
+
name: "emitPositionDenied",
|
|
10661
|
+
outputs: [],
|
|
10662
|
+
stateMutability: "nonpayable",
|
|
10663
|
+
type: "function"
|
|
10664
|
+
},
|
|
10665
|
+
{
|
|
10666
|
+
inputs: [
|
|
10667
|
+
{
|
|
10668
|
+
internalType: "uint256",
|
|
10669
|
+
name: "_collateral",
|
|
10670
|
+
type: "uint256"
|
|
10671
|
+
},
|
|
10672
|
+
{
|
|
10673
|
+
internalType: "uint256",
|
|
10674
|
+
name: "_price",
|
|
10675
|
+
type: "uint256"
|
|
10676
|
+
},
|
|
10677
|
+
{
|
|
10678
|
+
internalType: "uint256",
|
|
10679
|
+
name: "_principal",
|
|
10680
|
+
type: "uint256"
|
|
10681
|
+
}
|
|
10682
|
+
],
|
|
10683
|
+
name: "emitPositionUpdate",
|
|
10684
|
+
outputs: [],
|
|
10685
|
+
stateMutability: "nonpayable",
|
|
10686
|
+
type: "function"
|
|
10687
|
+
},
|
|
10349
10688
|
{
|
|
10350
10689
|
inputs: [
|
|
10351
10690
|
{
|