DeploySEALED
◆╳●?&●╳╱○□▒@●╱╳&%^&○╳╱▓!▓?░╳$▒▫□#*■▪▒##╱&▫◇$◇▫▪~╳●!■╳╱▪╱▒%╱▫●╱**
Transaction ID
Execution Fee
0.00000349 FLOWTransaction Summary
DeployContract deployment
Contract deployment
Script Arguments
0nameString
ArrayUtils
1codeString
// Copied from https://github.com/green-goo-dao/flow-utils/blob/crescendo/contracts/ArrayUtils.cdc
// Special thanks to the Green Goo Dao contributors for creating this contract
access(all) contract ArrayUtils {
access(all) fun rangeFunc(_ start: Int, _ end: Int, _ f: fun (Int): Void) {
var current = start
while current < end {
f(current)
current = current + 1
}
}
access(all) fun range(_ start: Int, _ end: Int): [Int] {
var res: [Int] = []
self.rangeFunc(start, end, fun (i: Int) {
res.append(i)
})
return res
}
}
Cadence Script
1transaction(name: String, code: String ) {
2 prepare(signer: auth(AddContract) &Account) {
3 signer.contracts.add(name: name, code: code.utf8 )
4 }
5 }