TransactionSEALED
╲@╱●*▓~$~▓▒^╱○&#▒▫!#○▪?#■╲▫*@▒^╱╳■▓&%$●█^●&◇#~○&~~~#●○◇?*&▫%╲^●░
Transaction ID
Execution Error
Error Code: 1007
error caused by: 1 error occurred:
Raw Error
[Error Code: 1007] error caused by: 1 error occurred: * checking sequence number failed: [Error Code: 1007] invalid proposal key: public key 0 on account b1d63873c3cc9f79 has sequence number 3388, but given 3387
Transaction Summary
TransactionScript Arguments
0pidUInt64
6
1forceBool
true
Cadence Script
1import FlowALP from 0x6b00ff876c299c61
2
3transaction(pid: UInt64, force: Bool) {
4 let pool: auth(FlowALP.EPosition) &FlowALP.Pool
5
6 prepare(signer: auth(BorrowValue) &Account) {
7 self.pool = signer.storage.borrow<auth(FlowALP.EPosition) &FlowALP.Pool>(from: FlowALP.PoolStoragePath)
8 ?? panic("Could not borrow reference to Pool from \(FlowALP.PoolStoragePath) - ensure a Pool has been configured")
9 }
10
11 execute {
12 self.pool.rebalancePosition(pid: pid, force: force)
13 }
14}