Skip to content

Commit e358a5c

Browse files
chore: upgrade to 1.15.1 (#540)
Signed-off-by: jaime-iobermudez <[email protected]>
1 parent 6c6f8ac commit e358a5c

File tree

10 files changed

+223
-145
lines changed

10 files changed

+223
-145
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ These variables are only required if you are integrating Hedera Wallet Connect f
136136
137137
REACT_APP_MIRROR_NODE="https://testnet.mirrornode.hedera.com/api/v1/"
138138
REACT_APP_RPC_NODE="https://testnet.hashio.io/api"
139-
REACT_APP_RPC_RESOLVER='0.0.6349503'
140-
REACT_APP_RPC_FACTORY='0.0.6349546'
139+
REACT_APP_RPC_RESOLVER='0.0.6457760'
140+
REACT_APP_RPC_FACTORY='0.0.6457855'
141141
142142
REACT_APP_PROJECT_ID="your_project_id_from_walletconnect"
143143
REACT_APP_DAPP_NAME="Asset Tokenization Studio"

contracts/README.md

Lines changed: 98 additions & 98 deletions
Large diffs are not rendered by default.

contracts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hashgraph/asset-tokenization-contracts",
3-
"version": "1.15.0",
3+
"version": "1.15.1",
44
"main": "./build/typechain-types/index.js",
55
"module": "./build/typechain-types/index.js",
66
"files": [

contracts/scripts/deploy.ts

Lines changed: 108 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -852,217 +852,289 @@ export async function deployAtsContracts({
852852
businessLogicResolver: await deployContractWithFactory(
853853
commands.businessLogicResolver
854854
).then((result) => {
855-
console.log(`BusinessLogicResolver has been deployed successfully at ${result.address}`)
855+
console.log(
856+
`BusinessLogicResolver has been deployed successfully at ${result.address}`
857+
)
856858
return result
857859
}),
858860
accessControl: await deployContractWithFactory(
859861
commands.accessControl
860862
).then((result) => {
861-
console.log(`AccessControl has been deployed successfully at ${result.address}`)
863+
console.log(
864+
`AccessControl has been deployed successfully at ${result.address}`
865+
)
862866
return result
863867
}),
864868
cap: await deployContractWithFactory(commands.cap).then(
865869
(result) => {
866-
console.log(`Cap has been deployed successfully at ${result.address}`)
870+
console.log(
871+
`Cap has been deployed successfully at ${result.address}`
872+
)
867873
return result
868874
}
869875
),
870876
controlList: await deployContractWithFactory(
871877
commands.controlList
872878
).then((result) => {
873-
console.log(`ControlList has been deployed successfully at ${result.address}`)
879+
console.log(
880+
`ControlList has been deployed successfully at ${result.address}`
881+
)
874882
return result
875883
}),
876884
kyc: await deployContractWithFactory(commands.kyc).then(
877885
(result) => {
878-
console.log(`KYC has been deployed successfully at ${result.address}`)
886+
console.log(
887+
`KYC has been deployed successfully at ${result.address}`
888+
)
879889
return result
880890
}
881891
),
882892
ssiManagement: await deployContractWithFactory(
883893
commands.ssiManagement
884894
).then((result) => {
885-
console.log(`SSIManagement has been deployed successfully at ${result.address}`)
895+
console.log(
896+
`SSIManagement has been deployed successfully at ${result.address}`
897+
)
886898
return result
887899
}),
888900
pause: await deployContractWithFactory(commands.pause).then(
889901
(result) => {
890-
console.log(`Pause has been deployed successfully at ${result.address}`)
902+
console.log(
903+
`Pause has been deployed successfully at ${result.address}`
904+
)
891905
return result
892906
}
893907
),
894908
lock: await deployContractWithFactory(commands.lock).then(
895909
(result) => {
896-
console.log(`Lock has been deployed successfully at ${result.address}`)
910+
console.log(
911+
`Lock has been deployed successfully at ${result.address}`
912+
)
897913
return result
898914
}
899915
),
900916
hold: await deployContractWithFactory(commands.hold).then(
901917
(result) => {
902-
console.log(`Hold has been deployed successfully at ${result.address}`)
918+
console.log(
919+
`Hold has been deployed successfully at ${result.address}`
920+
)
903921
return result
904922
}
905923
),
906924
erc20: await deployContractWithFactory(commands.erc20).then(
907925
(result) => {
908-
console.log(`ERC20 has been deployed successfully at ${result.address}`)
926+
console.log(
927+
`ERC20 has been deployed successfully at ${result.address}`
928+
)
909929
return result
910930
}
911931
),
912932
erc1410ScheduledTasks: await deployContractWithFactory(
913933
commands.erc1410ScheduledTasks
914934
).then((result) => {
915-
console.log(`ERC1410ScheduledTasks has been deployed successfully at ${result.address}`)
935+
console.log(
936+
`ERC1410ScheduledTasks has been deployed successfully at ${result.address}`
937+
)
916938
return result
917939
}),
918940
erc1594: await deployContractWithFactory(commands.erc1594).then(
919941
(result) => {
920-
console.log(`ERC1594 has been deployed successfully at ${result.address}`)
942+
console.log(
943+
`ERC1594 has been deployed successfully at ${result.address}`
944+
)
921945
return result
922946
}
923947
),
924948
erc1643: await deployContractWithFactory(commands.erc1643).then(
925949
(result) => {
926-
console.log(`ERC1643 has been deployed successfully at ${result.address}`)
950+
console.log(
951+
`ERC1643 has been deployed successfully at ${result.address}`
952+
)
927953
return result
928954
}
929955
),
930956
erc1644: await deployContractWithFactory(commands.erc1644).then(
931957
(result) => {
932-
console.log(`ERC1644 has been deployed successfully at ${result.address}`)
958+
console.log(
959+
`ERC1644 has been deployed successfully at ${result.address}`
960+
)
933961
return result
934962
}
935963
),
936964
snapshots: await deployContractWithFactory(commands.snapshots).then(
937965
(result) => {
938-
console.log(`Snapshots has been deployed successfully at ${result.address}`)
966+
console.log(
967+
`Snapshots has been deployed successfully at ${result.address}`
968+
)
939969
return result
940970
}
941971
),
942972
diamondFacet: await deployContractWithFactory(
943973
commands.diamondFacet
944974
).then((result) => {
945-
console.log(`DiamondFacet has been deployed successfully at ${result.address}`)
975+
console.log(
976+
`DiamondFacet has been deployed successfully at ${result.address}`
977+
)
946978
return result
947979
}),
948980
equityUsa: await deployContractWithFactory(commands.equityUsa).then(
949981
(result) => {
950-
console.log(`EquityUSA has been deployed successfully at ${result.address}`)
982+
console.log(
983+
`EquityUSA has been deployed successfully at ${result.address}`
984+
)
951985
return result
952986
}
953987
),
954988
bondUsa: await deployContractWithFactory(commands.bondUsa).then(
955989
(result) => {
956-
console.log(`BondUSA has been deployed successfully at ${result.address}`)
990+
console.log(
991+
`BondUSA has been deployed successfully at ${result.address}`
992+
)
957993
return result
958994
}
959995
),
960996
scheduledSnapshots: await deployContractWithFactory(
961997
commands.scheduledSnapshots
962998
).then((result) => {
963-
console.log(`ScheduledSnapshots has been deployed successfully at ${result.address}`)
999+
console.log(
1000+
`ScheduledSnapshots has been deployed successfully at ${result.address}`
1001+
)
9641002
return result
9651003
}),
9661004
scheduledBalanceAdjustments: await deployContractWithFactory(
9671005
commands.scheduledBalanceAdjustments
9681006
).then((result) => {
969-
console.log(`ScheduledBalanceAdjustments has been deployed successfully at ${result.address}`)
1007+
console.log(
1008+
`ScheduledBalanceAdjustments has been deployed successfully at ${result.address}`
1009+
)
9701010
return result
9711011
}),
9721012
scheduledTasks: await deployContractWithFactory(
9731013
commands.scheduledTasks
9741014
).then((result) => {
975-
console.log(`ScheduledTasks has been deployed successfully at ${result.address}`)
1015+
console.log(
1016+
`ScheduledTasks has been deployed successfully at ${result.address}`
1017+
)
9761018
return result
9771019
}),
9781020
corporateActions: await deployContractWithFactory(
9791021
commands.corporateActions
9801022
).then((result) => {
981-
console.log(`CorporateActions has been deployed successfully at ${result.address}`)
1023+
console.log(
1024+
`CorporateActions has been deployed successfully at ${result.address}`
1025+
)
9821026
return result
9831027
}),
9841028
transferAndLock: await deployContractWithFactory(
9851029
commands.transferAndLock
9861030
).then((result) => {
987-
console.log(`TransferAndLock has been deployed successfully at ${result.address}`)
1031+
console.log(
1032+
`TransferAndLock has been deployed successfully at ${result.address}`
1033+
)
9881034
return result
9891035
}),
9901036
adjustBalances: await deployContractWithFactory(
9911037
commands.adjustBalances
9921038
).then((result) => {
993-
console.log(`AdjustBalances has been deployed successfully at ${result.address}`)
1039+
console.log(
1040+
`AdjustBalances has been deployed successfully at ${result.address}`
1041+
)
9941042
return result
9951043
}),
9961044
protectedPartitions: await deployContractWithFactory(
9971045
commands.protectedPartitions
9981046
).then((result) => {
999-
console.log(`ProtectedPartitions has been deployed successfully at ${result.address}`)
1047+
console.log(
1048+
`ProtectedPartitions has been deployed successfully at ${result.address}`
1049+
)
10001050
return result
10011051
}),
10021052
clearingTransferFacet: await deployContractWithFactory(
10031053
commands.clearingTransferFacet
10041054
).then((result) => {
1005-
console.log(`ClearingTransferFacet has been deployed successfully at ${result.address}`)
1055+
console.log(
1056+
`ClearingTransferFacet has been deployed successfully at ${result.address}`
1057+
)
10061058
return result
10071059
}),
10081060
clearingRedeemFacet: await deployContractWithFactory(
10091061
commands.clearingRedeemFacet
10101062
).then((result) => {
1011-
console.log(`ClearingRedeemFacet has been deployed successfully at ${result.address}`)
1063+
console.log(
1064+
`ClearingRedeemFacet has been deployed successfully at ${result.address}`
1065+
)
10121066
return result
10131067
}),
10141068
clearingHoldCreationFacet: await deployContractWithFactory(
10151069
commands.clearingHoldCreationFacet
10161070
).then((result) => {
1017-
console.log(`ClearingHoldCreationFacet has been deployed successfully at ${result.address}`)
1071+
console.log(
1072+
`ClearingHoldCreationFacet has been deployed successfully at ${result.address}`
1073+
)
10181074
return result
10191075
}),
10201076
clearingReadFacet: await deployContractWithFactory(
10211077
commands.clearingReadFacet
10221078
).then((result) => {
1023-
console.log(`ClearingReadFacet has been deployed successfully at ${result.address}`)
1079+
console.log(
1080+
`ClearingReadFacet has been deployed successfully at ${result.address}`
1081+
)
10241082
return result
10251083
}),
10261084
clearingActionsFacet: await deployContractWithFactory(
10271085
commands.clearingActionsFacet
10281086
).then((result) => {
1029-
console.log(`ClearingActionsFacet has been deployed successfully at ${result.address}`)
1087+
console.log(
1088+
`ClearingActionsFacet has been deployed successfully at ${result.address}`
1089+
)
10301090
return result
10311091
}),
10321092
externalPauseManagement: await deployContractWithFactory(
10331093
commands.externalPauseManagement
10341094
).then((result) => {
1035-
console.log(`ExternalPauseManagement has been deployed successfully at ${result.address}`)
1095+
console.log(
1096+
`ExternalPauseManagement has been deployed successfully at ${result.address}`
1097+
)
10361098
return result
10371099
}),
10381100
externalControlListManagement: await deployContractWithFactory(
10391101
commands.externalControlListManagement
10401102
).then((result) => {
1041-
console.log(`ExternalControlListManagement has been deployed successfully at ${result.address}`)
1103+
console.log(
1104+
`ExternalControlListManagement has been deployed successfully at ${result.address}`
1105+
)
10421106
return result
10431107
}),
10441108
externalKycListManagement: await deployContractWithFactory(
10451109
commands.externalKycListManagement
10461110
).then((result) => {
1047-
console.log(`ExternalKycListManagement has been deployed successfully at ${result.address}`)
1111+
console.log(
1112+
`ExternalKycListManagement has been deployed successfully at ${result.address}`
1113+
)
10481114
return result
10491115
}),
10501116
erc3643: await deployContractWithFactory(commands.erc3643).then(
10511117
(result) => {
1052-
console.log(`ERC3643 has been deployed successfully at ${result.address}`)
1118+
console.log(
1119+
`ERC3643 has been deployed successfully at ${result.address}`
1120+
)
10531121
return result
10541122
}
10551123
),
10561124
freeze: await deployContractWithFactory(commands.freeze).then(
10571125
(result) => {
1058-
console.log(`Freeze has been deployed successfully at ${result.address}`)
1126+
console.log(
1127+
`Freeze has been deployed successfully at ${result.address}`
1128+
)
10591129
return result
10601130
}
10611131
),
10621132
timeTravel: commands.timeTravel
10631133
? await deployContractWithFactory(commands.timeTravel).then(
10641134
(result) => {
1065-
console.log(`TimeTravel has been deployed successfully at ${result.address}`)
1135+
console.log(
1136+
`TimeTravel has been deployed successfully at ${result.address}`
1137+
)
10661138
return result
10671139
}
10681140
)

contracts/tasks/deploy.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ task(
294294
externalKycListManagement,
295295
protectedPartitions,
296296
erc3643,
297+
freeze,
297298
} = await deployAtsFullInfrastructure(
298299
new DeployAtsFullInfrastructureCommand({
299300
signer: signer,
@@ -348,6 +349,7 @@ task(
348349
externalKycListManagement.address,
349350
'Protected Partitions': protectedPartitions.address,
350351
ERC3643: erc3643.address,
352+
Freeze: freeze.address,
351353
}
352354

353355
const contractAddress = []
@@ -363,7 +365,11 @@ task(
363365
address,
364366
network,
365367
})
366-
if (['Business Logic Resolver Proxy', 'Factory Proxy'].includes(key)) {
368+
if (
369+
['Business Logic Resolver Proxy', 'Factory Proxy'].includes(
370+
key
371+
)
372+
) {
367373
console.log(` --> *** ${key}: ${address} (${contractId})`)
368374
} else {
369375
console.log(` --> ${key}: ${address} (${contractId})`)

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hashgraph/hedera-asset-tokenization",
3-
"version": "1.15.0",
3+
"version": "1.15.1",
44
"license": "Apache-2.0",
55
"description": "asset tokenization",
66
"scripts": {

0 commit comments

Comments
 (0)