UNPKG
baluni-contracts
Version:
latest (2.9.10)
2.9.10
2.9.9
2.9.8
2.9.7
2.9.6
2.9.5
2.9.4
2.9.3
2.9.2
2.9.1
2.9.0
2.8.3
2.8.2
2.8.1
2.8.0
2.7.11
2.7.10
2.7.9
2.7.8
2.7.7
2.7.6
2.7.4
2.7.3
2.7.2
2.7.1
2.7.0
2.6.5
2.6.3
2.6.2
2.6.1
2.6.0
2.5.4
2.5.3
2.5.2
2.5.1
2.4.8
2.4.7
2.4.6
2.4.5
2.4.3
2.4.2
2.4.1
2.4.0
2.3.0
Smart Contracts for Baluni
github.com/scobru/baluni-contracts
scobru/baluni-contracts
baluni-contracts
/
scripts
/
changeProxyAdmin.ts
12 lines
(9 loc)
•
247 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
{ upgrades }
from
'hardhat'
async
function
main
(
) {
await
upgrades.
admin
.
changeProxyAdmin
(
''
,
''
)
console
.
log
(
'Proxy admin changed successfully'
) }
main
().
catch
(
(
error
) =>
{
console
.
error
(error) process.
exitCode
=
1
})