@@ -23,21 +23,54 @@ export const ICoinFlipAbi = [
23
23
"outputs" : [ ] ,
24
24
"stateMutability" : "nonpayable"
25
25
} ,
26
+ {
27
+ "type" : "function" ,
28
+ "name" : "getDefaultProviderGasLimit" ,
29
+ "inputs" : [ ] ,
30
+ "outputs" : [ { "name" : "" , "type" : "uint32" , "internalType" : "uint32" } ] ,
31
+ "stateMutability" : "view"
32
+ } ,
26
33
{
27
34
"type" : "function" ,
28
35
"name" : "getFlipFee" ,
29
36
"inputs" : [ ] ,
30
- "outputs" : [
31
- { "name" : "fee" , "type" : "uint256" , "internalType" : "uint256" }
32
- ] ,
37
+ "outputs" : [ { "name" : "" , "type" : "uint256" , "internalType" : "uint256" } ] ,
33
38
"stateMutability" : "view"
34
39
} ,
35
40
{
36
41
"type" : "function" ,
37
42
"name" : "requestFlip" ,
43
+ "inputs" : [ ] ,
44
+ "outputs" : [ ] ,
45
+ "stateMutability" : "payable"
46
+ } ,
47
+ {
48
+ "type" : "function" ,
49
+ "name" : "requestFlipWithCustomGasLimit" ,
50
+ "inputs" : [
51
+ { "name" : "gasLimit" , "type" : "uint32" , "internalType" : "uint32" }
52
+ ] ,
53
+ "outputs" : [ ] ,
54
+ "stateMutability" : "payable"
55
+ } ,
56
+ {
57
+ "type" : "function" ,
58
+ "name" : "requestFlipWithCustomProviderAndGasLimit" ,
59
+ "inputs" : [
60
+ { "name" : "provider" , "type" : "address" , "internalType" : "address" } ,
61
+ { "name" : "gasLimit" , "type" : "uint32" , "internalType" : "uint32" }
62
+ ] ,
63
+ "outputs" : [ ] ,
64
+ "stateMutability" : "payable"
65
+ } ,
66
+ {
67
+ "type" : "function" ,
68
+ "name" : "requestFlipWithCustomProviderAndGasLimitAndUserContribution" ,
38
69
"inputs" : [
70
+ { "name" : "provider" , "type" : "address" , "internalType" : "address" } ,
71
+ { "name" : "gasLimit" , "type" : "uint32" , "internalType" : "uint32" } ,
39
72
{
40
- "name" : "userRandomNumber " ,
73
+ "name" : "userContribution " ,
41
74
"type" : "bytes32" ,
42
75
"internalType" : "bytes32"
43
76
}
0 commit comments