DeploySEALED

$▓●█^╲▒@○□╱◇╱◆◇▫$$╲?▓█$▒□@█@╳○%▒▫◇◇◆■^◆&╳╲~▓○▪&&▒▪?○@&█~?╲!▫^*╳╳

Transaction ID

Timestamp

Aug 20, 2024, 07:34:05 AM UTC
1y ago

Block Height

84,933,922

Computation

0

Execution Fee

0.00000324 FLOW

Transaction Summary

Deploy

Contract deployment

Contract deployment

Script Arguments

0nameString
AFLUpgradeAdmin
1codeString
import AFLUpgradeExchange from 0x8f9231920da9af6d pub contract AFLUpgradeAdmin { pub resource UpgradeAdmin { pub fun addUpgradePath(oldTemplateId: UInt64, newTemplateId: UInt64, requirements: [AFLUpgradeExchange.Requirement]) { AFLUpgradeExchange.addUpgradePath(oldTemplateId: oldTemplateId, newTemplateId: newTemplateId, requirements: requirements) } pub fun updateUpgradePath(oldTemplateId: UInt64, newTemplateId: UInt64, requirements: [AFLUpgradeExchange.Requirement]) { AFLUpgradeExchange.updateUpgradePath(oldTemplateId: oldTemplateId, newTemplateId: newTemplateId, requirements: requirements) } pub fun removeUpgradePath(oldTemplateId: UInt64) { AFLUpgradeExchange.removeUpgradePath(oldTemplateId: oldTemplateId) } pub fun createUpgradeAdmin(): @UpgradeAdmin { return <- create UpgradeAdmin() } } init() { AFLUpgradeAdmin.account.save(<- create UpgradeAdmin(), to: /storage/AFLUpgradeAdmin) } }

Cadence Script

1transaction(name: String, code: String ) {
2		prepare(signer: AuthAccount) {
3			signer.contracts.add(name: name, code: code.utf8 )
4		}
5	}