diff --git a/test/integration/ContractFunctionParametersIntegrationTest.js b/test/integration/ContractFunctionParametersIntegrationTest.js index f9e6938ac..605b0b1c1 100644 --- a/test/integration/ContractFunctionParametersIntegrationTest.js +++ b/test/integration/ContractFunctionParametersIntegrationTest.js @@ -10,7 +10,7 @@ import IntegrationTestEnv from "./client/NodeIntegrationTestEnv.js"; import BigNumber from "bignumber.js"; let smartContractBytecode = - "0x608060405234801561001057600080fd5b50611851806100206000396000f3fe608060405234801561001057600080fd5b50600436106103fc5760003560e01c806388b7e6f511610215578063c503772d11610125578063de9fb484116100b8578063e713cda811610087578063e713cda814610cb2578063f4e490f514610cd5578063f6e877f414610cf6578063f8293f6e14610d1c578063ffb8050114610d3e57600080fd5b8063de9fb48414610c12578063e05e91e014610c3f578063e066de5014610c66578063e0f53e2414610c8c57600080fd5b8063cdb9e4e8116100f4578063cdb9e4e814610b7b578063d79d4d4014610ba1578063dade0c0b14610bc7578063dbb04ed914610be957600080fd5b8063c503772d14610ae6578063c6c18a1c14610b06578063c7d8b87e14610b30578063cbd2e6a514610b5657600080fd5b8063a75761f1116101a8578063b8da8d1611610177578063b8da8d1614610a2b578063b989c7ee14610a51578063ba945bdb14610a72578063bb6b524314610a98578063bd90536a14610abe57600080fd5b8063a75761f1146109a2578063b2db404a146109c3578063b4e3e7b1146109e4578063b834bfe914610a0a57600080fd5b80639b1794ae116101e45780639b1794ae14610914578063a08b9f671461093a578063a1bda1221461095b578063a401d60d1461097c57600080fd5b806388b7e6f514610890578063923f5edf146108b157806394cd7c80146108d257806398508ba3146108f357600080fd5b80633b45e6e01161031057806364e008c1116102a357806372a06b4d1161027257806372a06b4d146107e1578063796a27ea146108025780637d0dc262146108285780637ec32d8414610849578063881c8fb71461086a57600080fd5b806364e008c11461075257806368ef4466146107735780636a54715c1461079457806370a5cb81146107b557600080fd5b806344e7b037116102df57806344e7b037146106de578063545e21131461070457806359adb2df146105b3578063628bc3ef1461073157600080fd5b80633b45e6e0146106535780633e1a2771146106745780633f396e6714610695578063407b899b146106bd57600080fd5b806311ec6c901161039357806322937ea91161036257806322937ea9146105b35780632ef16e8e146105cf5780632f47a40d146105f05780632f6c1bb41461061157806333520ec31461063257600080fd5b806311ec6c901461052a578063129ed5da1461054b57806312cd95a114610571578063189cea8e1461059257600080fd5b806308123e09116103cf57806308123e09146104a15780630a958dc8146104c757806310d54553146104e8578063118b84151461050957600080fd5b8063017fa10b14610401578063021d88ab1461042f578063037454301461045a57806306ac6fe11461047b575b600080fd5b61041261040f36600461126e565b90565b6040516001600160801b0390911681526020015b60405180910390f35b61043d61040f366004611680565b6040516bffffffffffffffffffffffff9091168152602001610426565b61046861040f366004610dd6565b604051600c9190910b8152602001610426565b61048961040f366004611247565b6040516001600160781b039091168152602001610426565b6104af61040f366004611592565b60405166ffffffffffffff9091168152602001610426565b6104d561040f3660046110cb565b60405160049190910b8152602001610426565b6104f661040f366004610e82565b60405160119190910b8152602001610426565b61051761040f366004611071565b604051601e9190910b8152602001610426565b61053861040f366004610ee5565b60405160139190910b8152602001610426565b61055961040f3660046112e3565b6040516001600160981b039091168152602001610426565b61057f61040f366004610ea3565b60405160129190910b8152602001610426565b6105a061040f366004610f48565b60405160169190910b8152602001610426565b6105c161040f366004611092565b604051908152602001610426565b6105dd61040f366004611050565b604051601d9190910b8152602001610426565b6105fe61040f3660046111b1565b604051600a9190910b8152602001610426565b61061f61040f366004610fab565b60405160199190910b8152602001610426565b61064061040f366004610fcc565b604051601a9190910b8152602001610426565b61066161040f366004610e61565b60405160109190910b8152602001610426565b61068261040f36600461100e565b604051601c9190910b8152602001610426565b6106a361040f3660046115e1565b60405168ffffffffffffffffff9091168152602001610426565b6106cb61040f36600461112e565b60405160079190910b8152602001610426565b6106ec61040f36600461132c565b6040516001600160a01b039091168152602001610426565b610717610712366004611170565b610d62565b60408051600093840b81529190920b602082015201610426565b61073f61040f366004611190565b60405160099190910b8152602001610426565b61076061040f366004610f69565b60405160179190910b8152602001610426565b61078161040f366004610f06565b60405160149190910b8152602001610426565b6107a261040f36600461110d565b60405160069190910b8152602001610426565b6107c361040f3660046111f3565b6040516cffffffffffffffffffffffffff9091168152602001610426565b6107ef61040f366004611170565b60405160009190910b8152602001610426565b61081061040f36600461143d565b6040516001600160d81b039091168152602001610426565b61083661040f366004610fed565b604051601b9190910b8152602001610426565b61085761040f36600461102f565b60405160029190910b8152602001610426565b61087861040f36600461137a565b6040516001600160b01b039091168152602001610426565b61089e61040f366004610e40565b604051600f9190910b8152602001610426565b6108bf61040f366004610f27565b60405160159190910b8152602001610426565b6108e061040f366004610f8a565b60405160189190910b8152602001610426565b61090161040f366004610dfe565b604051600d9190910b8152602001610426565b61092261040f3660046113a1565b6040516001600160b81b039091168152602001610426565b61094861040f3660046111d2565b604051600b9190910b8152602001610426565b61096961040f366004610ec4565b60405160019190910b8152602001610426565b61098a61040f3660046114d5565b6040516001600160f01b039091168152602001610426565b6109b061040f36600461130a565b60405161ffff9091168152602001610426565b6109d161040f3660046110ec565b60405160059190910b8152602001610426565b6109f261040f366004611220565b6040516001600160701b039091168152602001610426565b610a1861040f366004610e1f565b604051600e9190910b8152602001610426565b610a3961040f366004611353565b6040516001600160a81b039091168152602001610426565b610a5f61040f3660046110aa565b60405160039190910b8152602001610426565b610a8061040f366004611295565b6040516001600160881b039091168152602001610426565b610aa661040f3660046113ef565b6040516001600160c81b039091168152602001610426565b610ad1610acc366004611092565b610d7a565b60408051928352602083019190915201610426565b610af461040f36600461160a565b60405160ff9091168152602001610426565b610b1461040f366004611655565b6040516affffffffffffffffffffff9091168152602001610426565b610b3e61040f3660046114fc565b6040516001600160f81b039091168152602001610426565b610b6461040f36600461156c565b60405165ffffffffffff9091168152602001610426565b610b8961040f366004611464565b6040516001600160e01b039091168152602001610426565b610baf61040f366004611416565b6040516001600160d01b039091168152602001610426565b610bda610bd5366004611523565b610d89565b604051610426939291906116ac565b610bf761040f36600461162b565b60405169ffffffffffffffffffff9091168152602001610426565b610c25610c203660046110cb565b610dc7565b60408051600493840b81529190920b602082015201610426565b610c4d61040f3660046115b9565b60405167ffffffffffffffff9091168152602001610426565b610c7461040f36600461148b565b6040516001600160e81b039091168152602001610426565b610c9a61040f3660046113c8565b6040516001600160c01b039091168152602001610426565b610cc061040f366004611523565b60405163ffffffff9091168152602001610426565b610ce361040f36600461114f565b60405160089190910b8152602001610426565b610d0461040f3660046112bc565b6040516001600160901b039091168152602001610426565b610d2a61040f3660046114b2565b60405162ffffff9091168152602001610426565b610d4c61040f366004611547565b60405164ffffffffff9091168152602001610426565b60008082610d718160146117a9565b91509150915091565b60008082610d7181600161171e565b600080606083610d9a6001826117e0565b6040805180820190915260028152614f4b60f01b602082015291945063ffffffff16925090509193909250565b60008082610d7181600161175f565b600060208284031215610de7578081fd5b813580600c0b8114610df7578182fd5b9392505050565b600060208284031215610e0f578081fd5b813580600d0b8114610df7578182fd5b600060208284031215610e30578081fd5b813580600e0b8114610df7578182fd5b600060208284031215610e51578081fd5b813580600f0b8114610df7578182fd5b600060208284031215610e72578081fd5b81358060100b8114610df7578182fd5b600060208284031215610e93578081fd5b81358060110b8114610df7578182fd5b600060208284031215610eb4578081fd5b81358060120b8114610df7578182fd5b600060208284031215610ed5578081fd5b81358060010b8114610df7578182fd5b600060208284031215610ef6578081fd5b81358060130b8114610df7578182fd5b600060208284031215610f17578081fd5b81358060140b8114610df7578182fd5b600060208284031215610f38578081fd5b81358060150b8114610df7578182fd5b600060208284031215610f59578081fd5b81358060160b8114610df7578182fd5b600060208284031215610f7a578081fd5b81358060170b8114610df7578182fd5b600060208284031215610f9b578081fd5b81358060180b8114610df7578182fd5b600060208284031215610fbc578081fd5b81358060190b8114610df7578182fd5b600060208284031215610fdd578081fd5b813580601a0b8114610df7578182fd5b600060208284031215610ffe578081fd5b813580601b0b8114610df7578182fd5b60006020828403121561101f578081fd5b813580601c0b8114610df7578182fd5b600060208284031215611040578081fd5b81358060020b8114610df7578182fd5b600060208284031215611061578081fd5b813580601d0b8114610df7578182fd5b600060208284031215611082578081fd5b813580601e0b8114610df7578182fd5b6000602082840312156110a3578081fd5b5035919050565b6000602082840312156110bb578081fd5b81358060030b8114610df7578182fd5b6000602082840312156110dc578081fd5b81358060040b8114610df7578182fd5b6000602082840312156110fd578081fd5b81358060050b8114610df7578182fd5b60006020828403121561111e578081fd5b81358060060b8114610df7578182fd5b60006020828403121561113f578081fd5b81358060070b8114610df7578182fd5b600060208284031215611160578081fd5b81358060080b8114610df7578182fd5b600060208284031215611181578081fd5b813580820b8114610df7578182fd5b6000602082840312156111a1578081fd5b81358060090b8114610df7578182fd5b6000602082840312156111c2578081fd5b813580600a0b8114610df7578182fd5b6000602082840312156111e3578081fd5b813580600b0b8114610df7578182fd5b600060208284031215611204578081fd5b81356cffffffffffffffffffffffffff81168114610df7578182fd5b600060208284031215611231578081fd5b81356001600160701b0381168114610df7578182fd5b600060208284031215611258578081fd5b81356001600160781b0381168114610df7578182fd5b60006020828403121561127f578081fd5b81356001600160801b0381168114610df7578182fd5b6000602082840312156112a6578081fd5b81356001600160881b0381168114610df7578182fd5b6000602082840312156112cd578081fd5b81356001600160901b0381168114610df7578182fd5b6000602082840312156112f4578081fd5b81356001600160981b0381168114610df7578182fd5b60006020828403121561131b578081fd5b813561ffff81168114610df7578182fd5b60006020828403121561133d578081fd5b81356001600160a01b0381168114610df7578182fd5b600060208284031215611364578081fd5b81356001600160a81b0381168114610df7578182fd5b60006020828403121561138b578081fd5b81356001600160b01b0381168114610df7578182fd5b6000602082840312156113b2578081fd5b81356001600160b81b0381168114610df7578182fd5b6000602082840312156113d9578081fd5b81356001600160c01b0381168114610df7578182fd5b600060208284031215611400578081fd5b81356001600160c81b0381168114610df7578182fd5b600060208284031215611427578081fd5b81356001600160d01b0381168114610df7578182fd5b60006020828403121561144e578081fd5b81356001600160d81b0381168114610df7578182fd5b600060208284031215611475578081fd5b81356001600160e01b0381168114610df7578182fd5b60006020828403121561149c578081fd5b81356001600160e81b0381168114610df7578182fd5b6000602082840312156114c3578081fd5b813562ffffff81168114610df7578182fd5b6000602082840312156114e6578081fd5b81356001600160f01b0381168114610df7578182fd5b60006020828403121561150d578081fd5b81356001600160f81b0381168114610df7578182fd5b600060208284031215611534578081fd5b813563ffffffff81168114610df7578182fd5b600060208284031215611558578081fd5b813564ffffffffff81168114610df7578182fd5b60006020828403121561157d578081fd5b813565ffffffffffff81168114610df7578182fd5b6000602082840312156115a3578081fd5b813566ffffffffffffff81168114610df7578182fd5b6000602082840312156115ca578081fd5b813567ffffffffffffffff81168114610df7578182fd5b6000602082840312156115f2578081fd5b813568ffffffffffffffffff81168114610df7578182fd5b60006020828403121561161b578081fd5b813560ff81168114610df7578182fd5b60006020828403121561163c578081fd5b813569ffffffffffffffffffff81168114610df7578182fd5b600060208284031215611666578081fd5b81356affffffffffffffffffffff81168114610df7578182fd5b600060208284031215611691578081fd5b81356bffffffffffffffffffffffff81168114610df7578182fd5b63ffffffff841681526000602067ffffffffffffffff851681840152606060408401528351806060850152825b818110156116f5578581018301518582016080015282016116d9565b818111156117065783608083870101525b50601f01601f19169290920160800195945050505050565b600080821280156001600160ff1b038490038513161561174057611740611805565b600160ff1b839003841281161561175957611759611805565b50500190565b60008160040b8360040b82821282647fffffffff0382138115161561178657611786611805565b82647fffffffff190382128116156117a0576117a0611805565b50019392505050565b600081810b83820b82821282607f038213811516156117ca576117ca611805565b82607f190382128116156117a0576117a0611805565b600063ffffffff838116908316818110156117fd576117fd611805565b039392505050565b634e487b7160e01b600052601160045260246000fdfea26469706673582212205364c98c43bf562527dfb30742be8777928382a6eda15d701082fc80093ac7f364736f6c63430008040033"; + "0x60806040523480156200001157600080fd5b5060408051608081018252600491810182815263082d8caf60e31b60608301908152908252600160208301529091600091620000509183919062000064565b506020820151816001015590505062000147565b82805462000072906200010a565b90600052602060002090601f016020900481019282620000965760008555620000e1565b82601f10620000b157805160ff1916838001178555620000e1565b82800160010185558215620000e1579182015b82811115620000e1578251825591602001919060010190620000c4565b50620000ef929150620000f3565b5090565b5b80821115620000ef5760008155600101620000f4565b600181811c908216806200011f57607f821691505b602082108114156200014157634e487b7160e01b600052602260045260246000fd5b50919050565b6120d380620001576000396000f3fe608060405234801561001057600080fd5b506004361061048b5760003560e01c806381dbe13e11610262578063bb6b524311610151578063dbb04ed9116100ce578063e713cda811610092578063e713cda814610e01578063f4e490f514610e24578063f6e877f414610e45578063f8293f6e14610e6b578063fba1bc4c14610e8d578063ffb8050114610ea257600080fd5b8063dbb04ed914610d38578063de9fb48414610d61578063e05e91e014610d8e578063e066de5014610db5578063e0f53e2414610ddb57600080fd5b8063cbd2e6a511610115578063cbd2e6a514610ca5578063cdb9e4e814610cca578063d1b10ad714610678578063d79d4d4014610cf0578063dade0c0b14610d1657600080fd5b8063bb6b524314610be7578063bd90536a14610c0d578063c503772d14610c35578063c6c18a1c14610c55578063c7d8b87e14610c7f57600080fd5b8063a1bda122116101df578063b4e3e7b1116101a3578063b4e3e7b114610b33578063b834bfe914610b59578063b8da8d1614610b7a578063b989c7ee14610ba0578063ba945bdb14610bc157600080fd5b8063a1bda12214610aaa578063a401d60d14610acb578063a75761f114610af1578063aa80ca2e1461073e578063b2db404a14610b1257600080fd5b8063923f5edf11610226578063923f5edf14610a0057806394cd7c8014610a2157806398508ba314610a425780639b1794ae14610a63578063a08b9f6714610a8957600080fd5b806381dbe13e14610983578063827147ce146105da578063881c8fb71461099e57806388b7e6f5146109c4578063909c5b24146109e557600080fd5b806338fa66581161037e578063628bc3ef116102fb57806372a06b4d116102bf57806372a06b4d146108fa578063796a27ea1461091b5780637d0dc262146109415780637ec32d84146109625780637f8082f71461073e57600080fd5b8063628bc3ef1461084a57806364e008c11461086b57806368ef44661461088c5780636a54715c146108ad57806370a5cb81146108ce57600080fd5b806344e7b0371161034257806344e7b0371461069457806348d848d0146107e45780634bbc9a6714610802578063545e21131461081d57806359adb2df1461067857600080fd5b806338fa66581461073e5780633b45e6e0146107595780633e1a27711461077a5780633f396e671461079b578063407b899b146107c357600080fd5b8063129ed5da1161040c5780632421101f116103d05780632421101f146106945780632ef16e8e146106ba5780632f47a40d146106db5780632f6c1bb4146106fc57806333520ec31461071d57600080fd5b8063129ed5da146105f557806312cd95a11461061b578063189cea8e1461063c5780631d1145621461065d57806322937ea91461067857600080fd5b80630a958dc8116104535780630a958dc81461055657806310d5455314610577578063118b84151461059857806311ec6c90146105b9578063126bc815146105da57600080fd5b8063017fa10b14610490578063021d88ab146104be57806303745430146104e957806306ac6fe11461050a57806308123e0914610530575b600080fd5b6104a161049e36600461188f565b90565b6040516001600160801b0390911681526020015b60405180910390f35b6104cc61049e366004611c7a565b6040516bffffffffffffffffffffffff90911681526020016104b5565b6104f761049e366004611416565b604051600c9190910b81526020016104b5565b61051861049e366004611868565b6040516001600160781b0390911681526020016104b5565b61053e61049e366004611b8c565b60405166ffffffffffffff90911681526020016104b5565b61056461049e3660046116ec565b60405160049190910b81526020016104b5565b61058561049e3660046114bb565b60405160119190910b81526020016104b5565b6105a661049e3660046116aa565b604051601e9190910b81526020016104b5565b6105c761049e36600461151e565b60405160139190910b81526020016104b5565b6105e861049e3660046113db565b6040516104b59190611e65565b61060361049e366004611904565b6040516001600160981b0390911681526020016104b5565b61062961049e3660046114dc565b60405160129190910b81526020016104b5565b61064a61049e366004611581565b60405160169190910b81526020016104b5565b61066b61049e3660046110a0565b6040516104b59190611cf1565b61068661049e3660046113c3565b6040519081526020016104b5565b6106a261049e36600461107d565b6040516001600160a01b0390911681526020016104b5565b6106c861049e366004611689565b604051601d9190910b81526020016104b5565b6106e961049e3660046117d2565b604051600a9190910b81526020016104b5565b61070a61049e3660046115e4565b60405160199190910b81526020016104b5565b61072b61049e366004611605565b604051601a9190910b81526020016104b5565b61074c61049e3660046111cf565b6040516104b59190611d78565b61076761049e36600461149a565b60405160109190910b81526020016104b5565b61078861049e366004611647565b604051601c9190910b81526020016104b5565b6107a961049e366004611bdb565b60405168ffffffffffffffffff90911681526020016104b5565b6107d161049e36600461174f565b60405160079190910b81526020016104b5565b6107f261049e3660046113a9565b60405190151581526020016104b5565b61081061049e366004611141565b6040516104b59190611d3e565b61083061082b366004611791565b610ec6565b60408051600093840b81529190920b6020820152016104b5565b61085861049e3660046117b1565b60405160099190910b81526020016104b5565b61087961049e3660046115a2565b60405160179190910b81526020016104b5565b61089a61049e36600461153f565b60405160149190910b81526020016104b5565b6108bb61049e36600461172e565b60405160069190910b81526020016104b5565b6108dc61049e366004611814565b6040516cffffffffffffffffffffffffff90911681526020016104b5565b61090861049e366004611791565b60405160009190910b81526020016104b5565b61092961049e366004611a37565b6040516001600160d81b0390911681526020016104b5565b61094f61049e366004611626565b604051601b9190910b81526020016104b5565b61097061049e366004611668565b60405160029190910b81526020016104b5565b61099161049e366004611307565b6040516104b59190611e11565b6109ac61049e366004611974565b6040516001600160b01b0390911681526020016104b5565b6109d261049e366004611479565b604051600f9190910b81526020016104b5565b6109f361049e366004611256565b6040516104b59190611db0565b610a0e61049e366004611560565b60405160159190910b81526020016104b5565b610a2f61049e3660046115c3565b60405160189190910b81526020016104b5565b610a5061049e366004611437565b604051600d9190910b81526020016104b5565b610a7161049e36600461199b565b6040516001600160b81b0390911681526020016104b5565b610a9761049e3660046117f3565b604051600b9190910b81526020016104b5565b610ab861049e3660046114fd565b60405160019190910b81526020016104b5565b610ad961049e366004611acf565b6040516001600160f01b0390911681526020016104b5565b610aff61049e36600461192b565b60405161ffff90911681526020016104b5565b610b2061049e36600461170d565b60405160059190910b81526020016104b5565b610b4161049e366004611841565b6040516001600160701b0390911681526020016104b5565b610b6761049e366004611458565b604051600e9190910b81526020016104b5565b610b8861049e36600461194d565b6040516001600160a81b0390911681526020016104b5565b610bae61049e3660046116cb565b60405160039190910b81526020016104b5565b610bcf61049e3660046118b6565b6040516001600160881b0390911681526020016104b5565b610bf561049e3660046119e9565b6040516001600160c81b0390911681526020016104b5565b610c20610c1b3660046113c3565b610ede565b604080519283526020830191909152016104b5565b610c4361049e366004611c04565b60405160ff90911681526020016104b5565b610c6361049e366004611c4f565b6040516affffffffffffffffffffff90911681526020016104b5565b610c8d61049e366004611af6565b6040516001600160f81b0390911681526020016104b5565b610cb361049e366004611b66565b60405165ffffffffffff90911681526020016104b5565b610cd861049e366004611a5e565b6040516001600160e01b0390911681526020016104b5565b610cfe61049e366004611a10565b6040516001600160d01b0390911681526020016104b5565b610d29610d24366004611b1d565b610eed565b6040516104b593929190611eaa565b610d4661049e366004611c25565b60405169ffffffffffffffffffff90911681526020016104b5565b610d74610d6f3660046116ec565b610f2b565b60408051600493840b81529190920b6020820152016104b5565b610d9c61049e366004611bb3565b60405167ffffffffffffffff90911681526020016104b5565b610dc361049e366004611a85565b6040516001600160e81b0390911681526020016104b5565b610de961049e3660046119c2565b6040516001600160c01b0390911681526020016104b5565b610e0f61049e366004611b1d565b60405163ffffffff90911681526020016104b5565b610e3261049e366004611770565b60405160089190910b81526020016104b5565b610e5361049e3660046118dd565b6040516001600160901b0390911681526020016104b5565b610e7961049e366004611aac565b60405162ffffff90911681526020016104b5565b610e95610f3a565b6040516104b59190611e78565b610eb061049e366004611b41565b60405164ffffffffff90911681526020016104b5565b60008082610ed5816014611fc2565b91509150915091565b60008082610ed5816001611f37565b600080606083610efe600182611ff9565b6040805180820190915260028152614f4b60f01b602082015291945063ffffffff16925090509193909250565b60008082610ed5816001611f78565b6040805180820190915260608152600060208201526000604051806040016040529081600082018054610f6c9061201e565b80601f0160208091040260200160405190810160405280929190818152602001828054610f989061201e565b8015610fe55780601f10610fba57610100808354040283529160200191610fe5565b820191906000526020600020905b815481529060010190602001808311610fc857829003601f168201915b50505050508152602001600182015481525050905090565b8035801515811461100d57600080fd5b919050565b600082601f830112611022578081fd5b813567ffffffffffffffff81111561103c5761103c61206f565b61104f601f8201601f1916602001611ee2565b818152846020838601011115611063578283fd5b816020850160208301379081016020019190915292915050565b60006020828403121561108e578081fd5b813561109981612085565b9392505050565b600060208083850312156110b2578182fd5b823567ffffffffffffffff8111156110c8578283fd5b8301601f810185136110d8578283fd5b80356110eb6110e682611f13565b611ee2565b80828252848201915084840188868560051b870101111561110a578687fd5b8694505b8385101561113557803561112181612085565b83526001949094019391850191850161110e565b50979650505050505050565b60006020808385031215611153578182fd5b823567ffffffffffffffff811115611169578283fd5b8301601f81018513611179578283fd5b80356111876110e682611f13565b80828252848201915084840188868560051b87010111156111a6578687fd5b8694505b83851015611135576111bb81610ffd565b8352600194909401939185019185016111aa565b600060208083850312156111e1578182fd5b823567ffffffffffffffff8111156111f7578283fd5b8301601f81018513611207578283fd5b80356112156110e682611f13565b80828252848201915084840188868560051b8701011115611234578687fd5b8694505b83851015611135578035835260019490940193918501918501611238565b60006020808385031215611268578182fd5b823567ffffffffffffffff8082111561127f578384fd5b818501915085601f830112611292578384fd5b81356112a06110e682611f13565b80828252858201915085850189878560051b88010111156112bf578788fd5b875b848110156112f8578135868111156112d757898afd5b6112e58c8a838b0101611012565b85525092870192908701906001016112c1565b50909998505050505050505050565b60006020808385031215611319578182fd5b823567ffffffffffffffff80821115611330578384fd5b818501915085601f830112611343578384fd5b81356113516110e682611f13565b80828252858201915085850189878560051b8801011115611370578788fd5b875b848110156112f85781358681111561138857898afd5b6113968c8a838b0101611012565b8552509287019290870190600101611372565b6000602082840312156113ba578081fd5b61109982610ffd565b6000602082840312156113d4578081fd5b5035919050565b6000602082840312156113ec578081fd5b813567ffffffffffffffff811115611402578182fd5b61140e84828501611012565b949350505050565b600060208284031215611427578081fd5b813580600c0b8114611099578182fd5b600060208284031215611448578081fd5b813580600d0b8114611099578182fd5b600060208284031215611469578081fd5b813580600e0b8114611099578182fd5b60006020828403121561148a578081fd5b813580600f0b8114611099578182fd5b6000602082840312156114ab578081fd5b81358060100b8114611099578182fd5b6000602082840312156114cc578081fd5b81358060110b8114611099578182fd5b6000602082840312156114ed578081fd5b81358060120b8114611099578182fd5b60006020828403121561150e578081fd5b81358060010b8114611099578182fd5b60006020828403121561152f578081fd5b81358060130b8114611099578182fd5b600060208284031215611550578081fd5b81358060140b8114611099578182fd5b600060208284031215611571578081fd5b81358060150b8114611099578182fd5b600060208284031215611592578081fd5b81358060160b8114611099578182fd5b6000602082840312156115b3578081fd5b81358060170b8114611099578182fd5b6000602082840312156115d4578081fd5b81358060180b8114611099578182fd5b6000602082840312156115f5578081fd5b81358060190b8114611099578182fd5b600060208284031215611616578081fd5b813580601a0b8114611099578182fd5b600060208284031215611637578081fd5b813580601b0b8114611099578182fd5b600060208284031215611658578081fd5b813580601c0b8114611099578182fd5b600060208284031215611679578081fd5b81358060020b8114611099578182fd5b60006020828403121561169a578081fd5b813580601d0b8114611099578182fd5b6000602082840312156116bb578081fd5b813580601e0b8114611099578182fd5b6000602082840312156116dc578081fd5b81358060030b8114611099578182fd5b6000602082840312156116fd578081fd5b81358060040b8114611099578182fd5b60006020828403121561171e578081fd5b81358060050b8114611099578182fd5b60006020828403121561173f578081fd5b81358060060b8114611099578182fd5b600060208284031215611760578081fd5b81358060070b8114611099578182fd5b600060208284031215611781578081fd5b81358060080b8114611099578182fd5b6000602082840312156117a2578081fd5b813580820b8114611099578182fd5b6000602082840312156117c2578081fd5b81358060090b8114611099578182fd5b6000602082840312156117e3578081fd5b813580600a0b8114611099578182fd5b600060208284031215611804578081fd5b813580600b0b8114611099578182fd5b600060208284031215611825578081fd5b81356cffffffffffffffffffffffffff81168114611099578182fd5b600060208284031215611852578081fd5b81356001600160701b0381168114611099578182fd5b600060208284031215611879578081fd5b81356001600160781b0381168114611099578182fd5b6000602082840312156118a0578081fd5b81356001600160801b0381168114611099578182fd5b6000602082840312156118c7578081fd5b81356001600160881b0381168114611099578182fd5b6000602082840312156118ee578081fd5b81356001600160901b0381168114611099578182fd5b600060208284031215611915578081fd5b81356001600160981b0381168114611099578182fd5b60006020828403121561193c578081fd5b813561ffff81168114611099578182fd5b60006020828403121561195e578081fd5b81356001600160a81b0381168114611099578182fd5b600060208284031215611985578081fd5b81356001600160b01b0381168114611099578182fd5b6000602082840312156119ac578081fd5b81356001600160b81b0381168114611099578182fd5b6000602082840312156119d3578081fd5b81356001600160c01b0381168114611099578182fd5b6000602082840312156119fa578081fd5b81356001600160c81b0381168114611099578182fd5b600060208284031215611a21578081fd5b81356001600160d01b0381168114611099578182fd5b600060208284031215611a48578081fd5b81356001600160d81b0381168114611099578182fd5b600060208284031215611a6f578081fd5b81356001600160e01b0381168114611099578182fd5b600060208284031215611a96578081fd5b81356001600160e81b0381168114611099578182fd5b600060208284031215611abd578081fd5b813562ffffff81168114611099578182fd5b600060208284031215611ae0578081fd5b81356001600160f01b0381168114611099578182fd5b600060208284031215611b07578081fd5b81356001600160f81b0381168114611099578182fd5b600060208284031215611b2e578081fd5b813563ffffffff81168114611099578182fd5b600060208284031215611b52578081fd5b813564ffffffffff81168114611099578182fd5b600060208284031215611b77578081fd5b813565ffffffffffff81168114611099578182fd5b600060208284031215611b9d578081fd5b813566ffffffffffffff81168114611099578182fd5b600060208284031215611bc4578081fd5b813567ffffffffffffffff81168114611099578182fd5b600060208284031215611bec578081fd5b813568ffffffffffffffffff81168114611099578182fd5b600060208284031215611c15578081fd5b813560ff81168114611099578182fd5b600060208284031215611c36578081fd5b813569ffffffffffffffffffff81168114611099578182fd5b600060208284031215611c60578081fd5b81356affffffffffffffffffffff81168114611099578182fd5b600060208284031215611c8b578081fd5b81356bffffffffffffffffffffffff81168114611099578182fd5b60008151808452815b81811015611ccb57602081850181015186830182015201611caf565b81811115611cdc5782602083870101525b50601f01601f19169290920160200192915050565b6020808252825182820181905260009190848201906040850190845b81811015611d325783516001600160a01b031683529284019291840191600101611d0d565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611d32578351151583529284019291840191600101611d5a565b6020808252825182820181905260009190848201906040850190845b81811015611d3257835183529284019291840191600101611d94565b6000602080830181845280855180835260408601915060408160051b8701019250838701855b82811015611e0457603f19888603018452611df2858351611ca6565b94509285019290850190600101611dd6565b5092979650505050505050565b6000602080830181845280855180835260408601915060408160051b8701019250838701855b82811015611e0457603f19888603018452611e53858351611ca6565b94509285019290850190600101611e37565b6020815260006110996020830184611ca6565b602081526000825160406020840152611e946060840182611ca6565b9050602084015160408401528091505092915050565b63ffffffff8416815267ffffffffffffffff83166020820152606060408201526000611ed96060830184611ca6565b95945050505050565b604051601f8201601f1916810167ffffffffffffffff81118282101715611f0b57611f0b61206f565b604052919050565b600067ffffffffffffffff821115611f2d57611f2d61206f565b5060051b60200190565b600080821280156001600160ff1b0384900385131615611f5957611f59612059565b600160ff1b8390038412811615611f7257611f72612059565b50500190565b60008160040b8360040b82821282647fffffffff03821381151615611f9f57611f9f612059565b82647fffffffff19038212811615611fb957611fb9612059565b50019392505050565b600081810b83820b82821282607f03821381151615611fe357611fe3612059565b82607f19038212811615611fb957611fb9612059565b600063ffffffff8381169083168181101561201657612016612059565b039392505050565b600181811c9082168061203257607f821691505b6020821081141561205357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461209a57600080fd5b5056fea2646970667358221220a24fb4a757386fd79c7c7cb608767f7d70003a814f506c413abe673f348130f464736f6c63430008040033"; describe("ContractFunctionParameters", function () { this.timeout(120000); @@ -77,7 +77,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -98,7 +98,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -118,7 +118,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -140,7 +140,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -161,7 +161,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -182,7 +182,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -203,7 +203,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -224,7 +224,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -245,7 +245,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -266,7 +266,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -287,7 +287,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -308,7 +308,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -329,7 +329,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -350,7 +350,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -371,7 +371,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -392,7 +392,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -416,7 +416,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -437,7 +437,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -458,7 +458,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -480,7 +480,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -501,7 +501,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -522,7 +522,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -545,7 +545,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -570,7 +570,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -595,7 +595,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -620,7 +620,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -645,7 +645,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -670,7 +670,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -695,7 +695,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -720,7 +720,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -745,7 +745,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -770,7 +770,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -795,7 +795,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -820,7 +820,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -845,7 +845,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -870,7 +870,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -895,7 +895,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -920,7 +920,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -945,7 +945,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -970,7 +970,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -995,7 +995,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1020,7 +1020,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1045,7 +1045,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1070,7 +1070,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1095,7 +1095,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1120,7 +1120,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1145,7 +1145,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1170,7 +1170,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1195,7 +1195,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1220,7 +1220,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1245,7 +1245,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1270,7 +1270,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1295,7 +1295,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1320,7 +1320,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1345,7 +1345,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1370,7 +1370,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1395,7 +1395,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1420,7 +1420,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1445,7 +1445,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1470,7 +1470,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1495,7 +1495,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1520,7 +1520,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1545,7 +1545,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1570,7 +1570,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1595,7 +1595,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1620,7 +1620,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1645,7 +1645,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1670,7 +1670,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1695,7 +1695,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1720,7 +1720,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1745,7 +1745,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1770,7 +1770,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1795,7 +1795,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1820,7 +1820,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1845,7 +1845,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1870,7 +1870,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1895,7 +1895,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1920,7 +1920,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1945,7 +1945,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1970,7 +1970,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -1995,7 +1995,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -2020,7 +2020,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -2045,7 +2045,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -2070,7 +2070,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -2095,7 +2095,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -2120,7 +2120,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -2146,7 +2146,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -2173,7 +2173,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -2200,7 +2200,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -2227,7 +2227,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -2253,7 +2253,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -2276,7 +2276,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -2298,7 +2298,7 @@ describe("ContractFunctionParameters", function () { ) //Set the query payment for the node returning the request //This value must cover the cost of the request otherwise will fail - .setQueryPayment(new Hbar(10)); + .setQueryPayment(new Hbar(15)); //Submit to a Hedera network const txResponse = await contractQuery.execute(env.client); @@ -2307,6 +2307,26 @@ describe("ContractFunctionParameters", function () { expect(txResponse.getInt256(1).toNumber()).to.be.equal(-9); }); + it("should return the right User value", async function () { + const contractQuery = await new ContractCallQuery() + //Set the gas for the query + .setGas(15000000) + //Set the contract ID to return the request for + .setContractId(newContractId) + //Set the contract function to call + .setFunction("get_user") + //Set the query payment for the node returning the request + //This value must cover the cost of the request otherwise will fail + .setQueryPayment(new Hbar(15)); + + //Submit to a Hedera network + const txResponse = await contractQuery.execute(env.client); + + const result = txResponse.getResult(["tuple(string, uint256)"]); + expect(result[0][0]).to.be.equal("Alex"); // tuple is returned as array + expect(result[0][1].toNumber()).to.be.equal(1); // tuple is returned as array + }); + after(async function () { await env.close(); });