File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
lib/go/contracts/internal/assets Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,9 @@ access(all) contract FlowCallbackScheduler {
164164 self .id = id
165165 self .timestamp = timestamp
166166 }
167+
168+ // event emitted when the resource is destroyed
169+ access (all) event ResourceDestroyed (id : UInt64 = self .id , timestamp : UFix64 = self .timestamp )
167170 }
168171
169172 /// Estimated callback contains data for estimating callback scheduling.
@@ -1350,7 +1353,7 @@ access(all) contract FlowCallbackScheduler {
13501353 return <- vaultRef.withdraw (amount : amount) as! @FlowToken.Vault
13511354 }
13521355
1353- access (account ) fun schedule (
1356+ access (all ) fun schedule (
13541357 callback : Capability <auth (Execute ) &{CallbackHandler}> ,
13551358 data: AnyStruct? ,
13561359 timestamp: UFix64,
You can’t perform that action at this time.
0 commit comments