Documentation ¶
Index ¶
- Constants
- Variables
- type Datetime
- type DatetimeCaller
- func (_Datetime *DatetimeCaller) AddDays(opts *bind.CallOpts, timestamp *big.Int, _days *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) AddHours(opts *bind.CallOpts, timestamp *big.Int, _hours *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) AddMinutes(opts *bind.CallOpts, timestamp *big.Int, _minutes *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) AddMonths(opts *bind.CallOpts, timestamp *big.Int, _months *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) AddSeconds(opts *bind.CallOpts, timestamp *big.Int, _seconds *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) AddYears(opts *bind.CallOpts, timestamp *big.Int, _years *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) DOWFRI(opts *bind.CallOpts) (*big.Int, error)
- func (_Datetime *DatetimeCaller) DOWMON(opts *bind.CallOpts) (*big.Int, error)
- func (_Datetime *DatetimeCaller) DOWSAT(opts *bind.CallOpts) (*big.Int, error)
- func (_Datetime *DatetimeCaller) DOWSUN(opts *bind.CallOpts) (*big.Int, error)
- func (_Datetime *DatetimeCaller) DOWTHU(opts *bind.CallOpts) (*big.Int, error)
- func (_Datetime *DatetimeCaller) DOWTUE(opts *bind.CallOpts) (*big.Int, error)
- func (_Datetime *DatetimeCaller) DOWWED(opts *bind.CallOpts) (*big.Int, error)
- func (_Datetime *DatetimeCaller) DaysFromDate(opts *bind.CallOpts, year *big.Int, month *big.Int, day *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) DaysToDate(opts *bind.CallOpts, _days *big.Int) (struct{ ... }, error)
- func (_Datetime *DatetimeCaller) DiffDays(opts *bind.CallOpts, fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) DiffHours(opts *bind.CallOpts, fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) DiffMinutes(opts *bind.CallOpts, fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) DiffMonths(opts *bind.CallOpts, fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) DiffSeconds(opts *bind.CallOpts, fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) DiffYears(opts *bind.CallOpts, fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) GetDay(opts *bind.CallOpts, timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) GetDayOfWeek(opts *bind.CallOpts, timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) GetDaysInMonth(opts *bind.CallOpts, year *big.Int, month *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) GetDaysInMonth2(opts *bind.CallOpts, timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) GetHour(opts *bind.CallOpts, timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) GetMinute(opts *bind.CallOpts, timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) GetMonth(opts *bind.CallOpts, timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) GetSecond(opts *bind.CallOpts, timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) GetYear(opts *bind.CallOpts, timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) IsLeapYear(opts *bind.CallOpts, timestamp *big.Int) (bool, error)
- func (_Datetime *DatetimeCaller) IsLeapYear2(opts *bind.CallOpts, year *big.Int) (bool, error)
- func (_Datetime *DatetimeCaller) IsValidDate(opts *bind.CallOpts, year *big.Int, month *big.Int, day *big.Int) (bool, error)
- func (_Datetime *DatetimeCaller) IsValidDateTime(opts *bind.CallOpts, year *big.Int, month *big.Int, day *big.Int, ...) (bool, error)
- func (_Datetime *DatetimeCaller) IsWeekDay(opts *bind.CallOpts, timestamp *big.Int) (bool, error)
- func (_Datetime *DatetimeCaller) IsWeekEnd(opts *bind.CallOpts, timestamp *big.Int) (bool, error)
- func (_Datetime *DatetimeCaller) Now(opts *bind.CallOpts) (*big.Int, error)
- func (_Datetime *DatetimeCaller) NowDateTime(opts *bind.CallOpts) (struct{ ... }, error)
- func (_Datetime *DatetimeCaller) OFFSET19700101(opts *bind.CallOpts) (*big.Int, error)
- func (_Datetime *DatetimeCaller) SECONDSPERDAY(opts *bind.CallOpts) (*big.Int, error)
- func (_Datetime *DatetimeCaller) SECONDSPERHOUR(opts *bind.CallOpts) (*big.Int, error)
- func (_Datetime *DatetimeCaller) SECONDSPERMINUTE(opts *bind.CallOpts) (*big.Int, error)
- func (_Datetime *DatetimeCaller) SubDays(opts *bind.CallOpts, timestamp *big.Int, _days *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) SubHours(opts *bind.CallOpts, timestamp *big.Int, _hours *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) SubMinutes(opts *bind.CallOpts, timestamp *big.Int, _minutes *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) SubMonths(opts *bind.CallOpts, timestamp *big.Int, _months *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) SubSeconds(opts *bind.CallOpts, timestamp *big.Int, _seconds *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) SubYears(opts *bind.CallOpts, timestamp *big.Int, _years *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) TimestampFromDate(opts *bind.CallOpts, year *big.Int, month *big.Int, day *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCaller) TimestampFromDateTime(opts *bind.CallOpts, year *big.Int, month *big.Int, day *big.Int, ...) (*big.Int, error)
- func (_Datetime *DatetimeCaller) TimestampToDate(opts *bind.CallOpts, timestamp *big.Int) (struct{ ... }, error)
- func (_Datetime *DatetimeCaller) TimestampToDateTime(opts *bind.CallOpts, timestamp *big.Int) (struct{ ... }, error)
- type DatetimeCallerRaw
- type DatetimeCallerSession
- func (_Datetime *DatetimeCallerSession) AddDays(timestamp *big.Int, _days *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) AddHours(timestamp *big.Int, _hours *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) AddMinutes(timestamp *big.Int, _minutes *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) AddMonths(timestamp *big.Int, _months *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) AddSeconds(timestamp *big.Int, _seconds *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) AddYears(timestamp *big.Int, _years *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) DOWFRI() (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) DOWMON() (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) DOWSAT() (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) DOWSUN() (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) DOWTHU() (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) DOWTUE() (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) DOWWED() (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) DaysFromDate(year *big.Int, month *big.Int, day *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) DaysToDate(_days *big.Int) (struct{ ... }, error)
- func (_Datetime *DatetimeCallerSession) DiffDays(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) DiffHours(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) DiffMinutes(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) DiffMonths(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) DiffSeconds(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) DiffYears(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) GetDay(timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) GetDayOfWeek(timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) GetDaysInMonth(year *big.Int, month *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) GetDaysInMonth2(timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) GetHour(timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) GetMinute(timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) GetMonth(timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) GetSecond(timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) GetYear(timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) IsLeapYear(timestamp *big.Int) (bool, error)
- func (_Datetime *DatetimeCallerSession) IsLeapYear2(year *big.Int) (bool, error)
- func (_Datetime *DatetimeCallerSession) IsValidDate(year *big.Int, month *big.Int, day *big.Int) (bool, error)
- func (_Datetime *DatetimeCallerSession) IsValidDateTime(year *big.Int, month *big.Int, day *big.Int, hour *big.Int, minute *big.Int, ...) (bool, error)
- func (_Datetime *DatetimeCallerSession) IsWeekDay(timestamp *big.Int) (bool, error)
- func (_Datetime *DatetimeCallerSession) IsWeekEnd(timestamp *big.Int) (bool, error)
- func (_Datetime *DatetimeCallerSession) Now() (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) NowDateTime() (struct{ ... }, error)
- func (_Datetime *DatetimeCallerSession) OFFSET19700101() (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) SECONDSPERDAY() (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) SECONDSPERHOUR() (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) SECONDSPERMINUTE() (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) SubDays(timestamp *big.Int, _days *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) SubHours(timestamp *big.Int, _hours *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) SubMinutes(timestamp *big.Int, _minutes *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) SubMonths(timestamp *big.Int, _months *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) SubSeconds(timestamp *big.Int, _seconds *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) SubYears(timestamp *big.Int, _years *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) TimestampFromDate(year *big.Int, month *big.Int, day *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) TimestampFromDateTime(year *big.Int, month *big.Int, day *big.Int, hour *big.Int, minute *big.Int, ...) (*big.Int, error)
- func (_Datetime *DatetimeCallerSession) TimestampToDate(timestamp *big.Int) (struct{ ... }, error)
- func (_Datetime *DatetimeCallerSession) TimestampToDateTime(timestamp *big.Int) (struct{ ... }, error)
- type DatetimeFilterer
- type DatetimeRaw
- func (_Datetime *DatetimeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Datetime *DatetimeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Datetime *DatetimeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type DatetimeSession
- func (_Datetime *DatetimeSession) AddDays(timestamp *big.Int, _days *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) AddHours(timestamp *big.Int, _hours *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) AddMinutes(timestamp *big.Int, _minutes *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) AddMonths(timestamp *big.Int, _months *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) AddSeconds(timestamp *big.Int, _seconds *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) AddYears(timestamp *big.Int, _years *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) DOWFRI() (*big.Int, error)
- func (_Datetime *DatetimeSession) DOWMON() (*big.Int, error)
- func (_Datetime *DatetimeSession) DOWSAT() (*big.Int, error)
- func (_Datetime *DatetimeSession) DOWSUN() (*big.Int, error)
- func (_Datetime *DatetimeSession) DOWTHU() (*big.Int, error)
- func (_Datetime *DatetimeSession) DOWTUE() (*big.Int, error)
- func (_Datetime *DatetimeSession) DOWWED() (*big.Int, error)
- func (_Datetime *DatetimeSession) DaysFromDate(year *big.Int, month *big.Int, day *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) DaysToDate(_days *big.Int) (struct{ ... }, error)
- func (_Datetime *DatetimeSession) DiffDays(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) DiffHours(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) DiffMinutes(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) DiffMonths(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) DiffSeconds(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) DiffYears(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) GetDay(timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) GetDayOfWeek(timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) GetDaysInMonth(year *big.Int, month *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) GetDaysInMonth2(timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) GetHour(timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) GetMinute(timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) GetMonth(timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) GetSecond(timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) GetYear(timestamp *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) IsLeapYear(timestamp *big.Int) (bool, error)
- func (_Datetime *DatetimeSession) IsLeapYear2(year *big.Int) (bool, error)
- func (_Datetime *DatetimeSession) IsValidDate(year *big.Int, month *big.Int, day *big.Int) (bool, error)
- func (_Datetime *DatetimeSession) IsValidDateTime(year *big.Int, month *big.Int, day *big.Int, hour *big.Int, minute *big.Int, ...) (bool, error)
- func (_Datetime *DatetimeSession) IsWeekDay(timestamp *big.Int) (bool, error)
- func (_Datetime *DatetimeSession) IsWeekEnd(timestamp *big.Int) (bool, error)
- func (_Datetime *DatetimeSession) Now() (*big.Int, error)
- func (_Datetime *DatetimeSession) NowDateTime() (struct{ ... }, error)
- func (_Datetime *DatetimeSession) OFFSET19700101() (*big.Int, error)
- func (_Datetime *DatetimeSession) SECONDSPERDAY() (*big.Int, error)
- func (_Datetime *DatetimeSession) SECONDSPERHOUR() (*big.Int, error)
- func (_Datetime *DatetimeSession) SECONDSPERMINUTE() (*big.Int, error)
- func (_Datetime *DatetimeSession) SubDays(timestamp *big.Int, _days *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) SubHours(timestamp *big.Int, _hours *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) SubMinutes(timestamp *big.Int, _minutes *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) SubMonths(timestamp *big.Int, _months *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) SubSeconds(timestamp *big.Int, _seconds *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) SubYears(timestamp *big.Int, _years *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) TimestampFromDate(year *big.Int, month *big.Int, day *big.Int) (*big.Int, error)
- func (_Datetime *DatetimeSession) TimestampFromDateTime(year *big.Int, month *big.Int, day *big.Int, hour *big.Int, minute *big.Int, ...) (*big.Int, error)
- func (_Datetime *DatetimeSession) TimestampToDate(timestamp *big.Int) (struct{ ... }, error)
- func (_Datetime *DatetimeSession) TimestampToDateTime(timestamp *big.Int) (struct{ ... }, error)
- type DatetimeTransactor
- type DatetimeTransactorRaw
- type DatetimeTransactorSession
Constants ¶
const DatetimeABI = "" /* 15596-byte string literal not displayed */
DatetimeABI is the input ABI used to generate the binding from.
Variables ¶
var DatetimeBin = "" /* 9680-byte string literal not displayed */
DatetimeBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type Datetime ¶
type Datetime struct { DatetimeCaller // Read-only binding to the contract DatetimeTransactor // Write-only binding to the contract DatetimeFilterer // Log filterer for contract events }
Datetime is an auto generated Go binding around an Ethereum contract.
func DeployDatetime ¶
func DeployDatetime(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Datetime, error)
DeployDatetime deploys a new Ethereum contract, binding an instance of Datetime to it.
func NewDatetime ¶
NewDatetime creates a new instance of Datetime, bound to a specific deployed contract.
type DatetimeCaller ¶
type DatetimeCaller struct {
// contains filtered or unexported fields
}
DatetimeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewDatetimeCaller ¶
func NewDatetimeCaller(address common.Address, caller bind.ContractCaller) (*DatetimeCaller, error)
NewDatetimeCaller creates a new read-only instance of Datetime, bound to a specific deployed contract.
func (*DatetimeCaller) AddDays ¶
func (_Datetime *DatetimeCaller) AddDays(opts *bind.CallOpts, timestamp *big.Int, _days *big.Int) (*big.Int, error)
AddDays is a free data retrieval call binding the contract method 0x7217523c.
Solidity: function addDays(uint256 timestamp, uint256 _days) pure returns(uint256 newTimestamp)
func (*DatetimeCaller) AddHours ¶
func (_Datetime *DatetimeCaller) AddHours(opts *bind.CallOpts, timestamp *big.Int, _hours *big.Int) (*big.Int, error)
AddHours is a free data retrieval call binding the contract method 0x4b321502.
Solidity: function addHours(uint256 timestamp, uint256 _hours) pure returns(uint256 newTimestamp)
func (*DatetimeCaller) AddMinutes ¶
func (_Datetime *DatetimeCaller) AddMinutes(opts *bind.CallOpts, timestamp *big.Int, _minutes *big.Int) (*big.Int, error)
AddMinutes is a free data retrieval call binding the contract method 0x89a3a00d.
Solidity: function addMinutes(uint256 timestamp, uint256 _minutes) pure returns(uint256 newTimestamp)
func (*DatetimeCaller) AddMonths ¶
func (_Datetime *DatetimeCaller) AddMonths(opts *bind.CallOpts, timestamp *big.Int, _months *big.Int) (*big.Int, error)
AddMonths is a free data retrieval call binding the contract method 0x4355644d.
Solidity: function addMonths(uint256 timestamp, uint256 _months) pure returns(uint256 newTimestamp)
func (*DatetimeCaller) AddSeconds ¶
func (_Datetime *DatetimeCaller) AddSeconds(opts *bind.CallOpts, timestamp *big.Int, _seconds *big.Int) (*big.Int, error)
AddSeconds is a free data retrieval call binding the contract method 0x8d4a2d39.
Solidity: function addSeconds(uint256 timestamp, uint256 _seconds) pure returns(uint256 newTimestamp)
func (*DatetimeCaller) AddYears ¶
func (_Datetime *DatetimeCaller) AddYears(opts *bind.CallOpts, timestamp *big.Int, _years *big.Int) (*big.Int, error)
AddYears is a free data retrieval call binding the contract method 0x442b8c79.
Solidity: function addYears(uint256 timestamp, uint256 _years) pure returns(uint256 newTimestamp)
func (*DatetimeCaller) DOWFRI ¶
DOWFRI is a free data retrieval call binding the contract method 0xd2b50743.
Solidity: function DOW_FRI() view returns(uint256)
func (*DatetimeCaller) DOWMON ¶
DOWMON is a free data retrieval call binding the contract method 0xf9fd5250.
Solidity: function DOW_MON() view returns(uint256)
func (*DatetimeCaller) DOWSAT ¶
DOWSAT is a free data retrieval call binding the contract method 0xc7edf88c.
Solidity: function DOW_SAT() view returns(uint256)
func (*DatetimeCaller) DOWSUN ¶
DOWSUN is a free data retrieval call binding the contract method 0x29441674.
Solidity: function DOW_SUN() view returns(uint256)
func (*DatetimeCaller) DOWTHU ¶
DOWTHU is a free data retrieval call binding the contract method 0xcfbb9f37.
Solidity: function DOW_THU() view returns(uint256)
func (*DatetimeCaller) DOWTUE ¶
DOWTUE is a free data retrieval call binding the contract method 0x126702a0.
Solidity: function DOW_TUE() view returns(uint256)
func (*DatetimeCaller) DOWWED ¶
DOWWED is a free data retrieval call binding the contract method 0x8bbf51b7.
Solidity: function DOW_WED() view returns(uint256)
func (*DatetimeCaller) DaysFromDate ¶
func (_Datetime *DatetimeCaller) DaysFromDate(opts *bind.CallOpts, year *big.Int, month *big.Int, day *big.Int) (*big.Int, error)
DaysFromDate is a free data retrieval call binding the contract method 0x1e0582e9.
Solidity: function _daysFromDate(uint256 year, uint256 month, uint256 day) pure returns(uint256 _days)
func (*DatetimeCaller) DaysToDate ¶
func (_Datetime *DatetimeCaller) DaysToDate(opts *bind.CallOpts, _days *big.Int) (struct { Year *big.Int Month *big.Int Day *big.Int }, error)
DaysToDate is a free data retrieval call binding the contract method 0x90059aed.
Solidity: function _daysToDate(uint256 _days) pure returns(uint256 year, uint256 month, uint256 day)
func (*DatetimeCaller) DiffDays ¶
func (_Datetime *DatetimeCaller) DiffDays(opts *bind.CallOpts, fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
DiffDays is a free data retrieval call binding the contract method 0xc9d34622.
Solidity: function diffDays(uint256 fromTimestamp, uint256 toTimestamp) pure returns(uint256 _days)
func (*DatetimeCaller) DiffHours ¶
func (_Datetime *DatetimeCaller) DiffHours(opts *bind.CallOpts, fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
DiffHours is a free data retrieval call binding the contract method 0x2af123b8.
Solidity: function diffHours(uint256 fromTimestamp, uint256 toTimestamp) pure returns(uint256 _hours)
func (*DatetimeCaller) DiffMinutes ¶
func (_Datetime *DatetimeCaller) DiffMinutes(opts *bind.CallOpts, fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
DiffMinutes is a free data retrieval call binding the contract method 0x02e98e0d.
Solidity: function diffMinutes(uint256 fromTimestamp, uint256 toTimestamp) pure returns(uint256 _minutes)
func (*DatetimeCaller) DiffMonths ¶
func (_Datetime *DatetimeCaller) DiffMonths(opts *bind.CallOpts, fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
DiffMonths is a free data retrieval call binding the contract method 0x7be34109.
Solidity: function diffMonths(uint256 fromTimestamp, uint256 toTimestamp) pure returns(uint256 _months)
func (*DatetimeCaller) DiffSeconds ¶
func (_Datetime *DatetimeCaller) DiffSeconds(opts *bind.CallOpts, fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
DiffSeconds is a free data retrieval call binding the contract method 0x62fb9697.
Solidity: function diffSeconds(uint256 fromTimestamp, uint256 toTimestamp) pure returns(uint256 _seconds)
func (*DatetimeCaller) DiffYears ¶
func (_Datetime *DatetimeCaller) DiffYears(opts *bind.CallOpts, fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
DiffYears is a free data retrieval call binding the contract method 0xff2258cb.
Solidity: function diffYears(uint256 fromTimestamp, uint256 toTimestamp) pure returns(uint256 _years)
func (*DatetimeCaller) GetDay ¶
GetDay is a free data retrieval call binding the contract method 0x65c72840.
Solidity: function getDay(uint256 timestamp) pure returns(uint256 day)
func (*DatetimeCaller) GetDayOfWeek ¶
func (_Datetime *DatetimeCaller) GetDayOfWeek(opts *bind.CallOpts, timestamp *big.Int) (*big.Int, error)
GetDayOfWeek is a free data retrieval call binding the contract method 0x22f8a2b8.
Solidity: function getDayOfWeek(uint256 timestamp) pure returns(uint256 dayOfWeek)
func (*DatetimeCaller) GetDaysInMonth ¶
func (_Datetime *DatetimeCaller) GetDaysInMonth(opts *bind.CallOpts, year *big.Int, month *big.Int) (*big.Int, error)
GetDaysInMonth is a free data retrieval call binding the contract method 0x3f9e0eb7.
Solidity: function _getDaysInMonth(uint256 year, uint256 month) pure returns(uint256 daysInMonth)
func (*DatetimeCaller) GetDaysInMonth2 ¶
func (_Datetime *DatetimeCaller) GetDaysInMonth2(opts *bind.CallOpts, timestamp *big.Int) (*big.Int, error)
GetDaysInMonth2 is a free data retrieval call binding the contract method 0x10848ddf.
Solidity: function getDaysInMonth(uint256 timestamp) pure returns(uint256 daysInMonth)
func (*DatetimeCaller) GetHour ¶
GetHour is a free data retrieval call binding the contract method 0x3e239e1a.
Solidity: function getHour(uint256 timestamp) pure returns(uint256 hour)
func (*DatetimeCaller) GetMinute ¶
func (_Datetime *DatetimeCaller) GetMinute(opts *bind.CallOpts, timestamp *big.Int) (*big.Int, error)
GetMinute is a free data retrieval call binding the contract method 0xfa93f883.
Solidity: function getMinute(uint256 timestamp) pure returns(uint256 minute)
func (*DatetimeCaller) GetMonth ¶
func (_Datetime *DatetimeCaller) GetMonth(opts *bind.CallOpts, timestamp *big.Int) (*big.Int, error)
GetMonth is a free data retrieval call binding the contract method 0xa324ad24.
Solidity: function getMonth(uint256 timestamp) pure returns(uint256 month)
func (*DatetimeCaller) GetSecond ¶
func (_Datetime *DatetimeCaller) GetSecond(opts *bind.CallOpts, timestamp *big.Int) (*big.Int, error)
GetSecond is a free data retrieval call binding the contract method 0x8aa001fc.
Solidity: function getSecond(uint256 timestamp) pure returns(uint256 second)
func (*DatetimeCaller) GetYear ¶
GetYear is a free data retrieval call binding the contract method 0x92d66313.
Solidity: function getYear(uint256 timestamp) pure returns(uint256 year)
func (*DatetimeCaller) IsLeapYear ¶
IsLeapYear is a free data retrieval call binding the contract method 0xb8d16dbc.
Solidity: function isLeapYear(uint256 timestamp) pure returns(bool leapYear)
func (*DatetimeCaller) IsLeapYear2 ¶
IsLeapYear2 is a free data retrieval call binding the contract method 0xb05eb08d.
Solidity: function _isLeapYear(uint256 year) pure returns(bool leapYear)
func (*DatetimeCaller) IsValidDate ¶
func (_Datetime *DatetimeCaller) IsValidDate(opts *bind.CallOpts, year *big.Int, month *big.Int, day *big.Int) (bool, error)
IsValidDate is a free data retrieval call binding the contract method 0x14b2d6dc.
Solidity: function isValidDate(uint256 year, uint256 month, uint256 day) pure returns(bool valid)
func (*DatetimeCaller) IsValidDateTime ¶
func (_Datetime *DatetimeCaller) IsValidDateTime(opts *bind.CallOpts, year *big.Int, month *big.Int, day *big.Int, hour *big.Int, minute *big.Int, second *big.Int) (bool, error)
IsValidDateTime is a free data retrieval call binding the contract method 0x3293d007.
Solidity: function isValidDateTime(uint256 year, uint256 month, uint256 day, uint256 hour, uint256 minute, uint256 second) pure returns(bool valid)
func (*DatetimeCaller) IsWeekDay ¶
IsWeekDay is a free data retrieval call binding the contract method 0xd6582d0d.
Solidity: function isWeekDay(uint256 timestamp) pure returns(bool weekDay)
func (*DatetimeCaller) IsWeekEnd ¶
IsWeekEnd is a free data retrieval call binding the contract method 0x4371c465.
Solidity: function isWeekEnd(uint256 timestamp) pure returns(bool weekEnd)
func (*DatetimeCaller) Now ¶
Now is a free data retrieval call binding the contract method 0xb3bb8cd4.
Solidity: function _now() view returns(uint256 timestamp)
func (*DatetimeCaller) NowDateTime ¶
func (_Datetime *DatetimeCaller) NowDateTime(opts *bind.CallOpts) (struct { Year *big.Int Month *big.Int Day *big.Int Hour *big.Int Minute *big.Int Second *big.Int }, error)
NowDateTime is a free data retrieval call binding the contract method 0x9220d426.
Solidity: function _nowDateTime() view returns(uint256 year, uint256 month, uint256 day, uint256 hour, uint256 minute, uint256 second)
func (*DatetimeCaller) OFFSET19700101 ¶
OFFSET19700101 is a free data retrieval call binding the contract method 0xa3f144ae.
Solidity: function OFFSET19700101() view returns(int256)
func (*DatetimeCaller) SECONDSPERDAY ¶
SECONDSPERDAY is a free data retrieval call binding the contract method 0x74f0314f.
Solidity: function SECONDS_PER_DAY() view returns(uint256)
func (*DatetimeCaller) SECONDSPERHOUR ¶
SECONDSPERHOUR is a free data retrieval call binding the contract method 0x4df86126.
Solidity: function SECONDS_PER_HOUR() view returns(uint256)
func (*DatetimeCaller) SECONDSPERMINUTE ¶
SECONDSPERMINUTE is a free data retrieval call binding the contract method 0xe9556430.
Solidity: function SECONDS_PER_MINUTE() view returns(uint256)
func (*DatetimeCaller) SubDays ¶
func (_Datetime *DatetimeCaller) SubDays(opts *bind.CallOpts, timestamp *big.Int, _days *big.Int) (*big.Int, error)
SubDays is a free data retrieval call binding the contract method 0xc7b6fd6a.
Solidity: function subDays(uint256 timestamp, uint256 _days) pure returns(uint256 newTimestamp)
func (*DatetimeCaller) SubHours ¶
func (_Datetime *DatetimeCaller) SubHours(opts *bind.CallOpts, timestamp *big.Int, _hours *big.Int) (*big.Int, error)
SubHours is a free data retrieval call binding the contract method 0x00501553.
Solidity: function subHours(uint256 timestamp, uint256 _hours) pure returns(uint256 newTimestamp)
func (*DatetimeCaller) SubMinutes ¶
func (_Datetime *DatetimeCaller) SubMinutes(opts *bind.CallOpts, timestamp *big.Int, _minutes *big.Int) (*big.Int, error)
SubMinutes is a free data retrieval call binding the contract method 0x9e524caa.
Solidity: function subMinutes(uint256 timestamp, uint256 _minutes) pure returns(uint256 newTimestamp)
func (*DatetimeCaller) SubMonths ¶
func (_Datetime *DatetimeCaller) SubMonths(opts *bind.CallOpts, timestamp *big.Int, _months *big.Int) (*big.Int, error)
SubMonths is a free data retrieval call binding the contract method 0xad203bd4.
Solidity: function subMonths(uint256 timestamp, uint256 _months) pure returns(uint256 newTimestamp)
func (*DatetimeCaller) SubSeconds ¶
func (_Datetime *DatetimeCaller) SubSeconds(opts *bind.CallOpts, timestamp *big.Int, _seconds *big.Int) (*big.Int, error)
SubSeconds is a free data retrieval call binding the contract method 0xf615ed54.
Solidity: function subSeconds(uint256 timestamp, uint256 _seconds) pure returns(uint256 newTimestamp)
func (*DatetimeCaller) SubYears ¶
func (_Datetime *DatetimeCaller) SubYears(opts *bind.CallOpts, timestamp *big.Int, _years *big.Int) (*big.Int, error)
SubYears is a free data retrieval call binding the contract method 0x444fda82.
Solidity: function subYears(uint256 timestamp, uint256 _years) pure returns(uint256 newTimestamp)
func (*DatetimeCaller) TimestampFromDate ¶
func (_Datetime *DatetimeCaller) TimestampFromDate(opts *bind.CallOpts, year *big.Int, month *big.Int, day *big.Int) (*big.Int, error)
TimestampFromDate is a free data retrieval call binding the contract method 0x1f4f77b2.
Solidity: function timestampFromDate(uint256 year, uint256 month, uint256 day) pure returns(uint256 timestamp)
func (*DatetimeCaller) TimestampFromDateTime ¶
func (_Datetime *DatetimeCaller) TimestampFromDateTime(opts *bind.CallOpts, year *big.Int, month *big.Int, day *big.Int, hour *big.Int, minute *big.Int, second *big.Int) (*big.Int, error)
TimestampFromDateTime is a free data retrieval call binding the contract method 0x5e05bd6d.
Solidity: function timestampFromDateTime(uint256 year, uint256 month, uint256 day, uint256 hour, uint256 minute, uint256 second) pure returns(uint256 timestamp)
func (*DatetimeCaller) TimestampToDate ¶
func (_Datetime *DatetimeCaller) TimestampToDate(opts *bind.CallOpts, timestamp *big.Int) (struct { Year *big.Int Month *big.Int Day *big.Int }, error)
TimestampToDate is a free data retrieval call binding the contract method 0xde5101af.
Solidity: function timestampToDate(uint256 timestamp) pure returns(uint256 year, uint256 month, uint256 day)
func (*DatetimeCaller) TimestampToDateTime ¶
func (_Datetime *DatetimeCaller) TimestampToDateTime(opts *bind.CallOpts, timestamp *big.Int) (struct { Year *big.Int Month *big.Int Day *big.Int Hour *big.Int Minute *big.Int Second *big.Int }, error)
TimestampToDateTime is a free data retrieval call binding the contract method 0xea1c1690.
Solidity: function timestampToDateTime(uint256 timestamp) pure returns(uint256 year, uint256 month, uint256 day, uint256 hour, uint256 minute, uint256 second)
type DatetimeCallerRaw ¶
type DatetimeCallerRaw struct {
Contract *DatetimeCaller // Generic read-only contract binding to access the raw methods on
}
DatetimeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*DatetimeCallerRaw) Call ¶
func (_Datetime *DatetimeCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type DatetimeCallerSession ¶
type DatetimeCallerSession struct { Contract *DatetimeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
DatetimeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*DatetimeCallerSession) AddDays ¶
func (_Datetime *DatetimeCallerSession) AddDays(timestamp *big.Int, _days *big.Int) (*big.Int, error)
AddDays is a free data retrieval call binding the contract method 0x7217523c.
Solidity: function addDays(uint256 timestamp, uint256 _days) pure returns(uint256 newTimestamp)
func (*DatetimeCallerSession) AddHours ¶
func (_Datetime *DatetimeCallerSession) AddHours(timestamp *big.Int, _hours *big.Int) (*big.Int, error)
AddHours is a free data retrieval call binding the contract method 0x4b321502.
Solidity: function addHours(uint256 timestamp, uint256 _hours) pure returns(uint256 newTimestamp)
func (*DatetimeCallerSession) AddMinutes ¶
func (_Datetime *DatetimeCallerSession) AddMinutes(timestamp *big.Int, _minutes *big.Int) (*big.Int, error)
AddMinutes is a free data retrieval call binding the contract method 0x89a3a00d.
Solidity: function addMinutes(uint256 timestamp, uint256 _minutes) pure returns(uint256 newTimestamp)
func (*DatetimeCallerSession) AddMonths ¶
func (_Datetime *DatetimeCallerSession) AddMonths(timestamp *big.Int, _months *big.Int) (*big.Int, error)
AddMonths is a free data retrieval call binding the contract method 0x4355644d.
Solidity: function addMonths(uint256 timestamp, uint256 _months) pure returns(uint256 newTimestamp)
func (*DatetimeCallerSession) AddSeconds ¶
func (_Datetime *DatetimeCallerSession) AddSeconds(timestamp *big.Int, _seconds *big.Int) (*big.Int, error)
AddSeconds is a free data retrieval call binding the contract method 0x8d4a2d39.
Solidity: function addSeconds(uint256 timestamp, uint256 _seconds) pure returns(uint256 newTimestamp)
func (*DatetimeCallerSession) AddYears ¶
func (_Datetime *DatetimeCallerSession) AddYears(timestamp *big.Int, _years *big.Int) (*big.Int, error)
AddYears is a free data retrieval call binding the contract method 0x442b8c79.
Solidity: function addYears(uint256 timestamp, uint256 _years) pure returns(uint256 newTimestamp)
func (*DatetimeCallerSession) DOWFRI ¶
func (_Datetime *DatetimeCallerSession) DOWFRI() (*big.Int, error)
DOWFRI is a free data retrieval call binding the contract method 0xd2b50743.
Solidity: function DOW_FRI() view returns(uint256)
func (*DatetimeCallerSession) DOWMON ¶
func (_Datetime *DatetimeCallerSession) DOWMON() (*big.Int, error)
DOWMON is a free data retrieval call binding the contract method 0xf9fd5250.
Solidity: function DOW_MON() view returns(uint256)
func (*DatetimeCallerSession) DOWSAT ¶
func (_Datetime *DatetimeCallerSession) DOWSAT() (*big.Int, error)
DOWSAT is a free data retrieval call binding the contract method 0xc7edf88c.
Solidity: function DOW_SAT() view returns(uint256)
func (*DatetimeCallerSession) DOWSUN ¶
func (_Datetime *DatetimeCallerSession) DOWSUN() (*big.Int, error)
DOWSUN is a free data retrieval call binding the contract method 0x29441674.
Solidity: function DOW_SUN() view returns(uint256)
func (*DatetimeCallerSession) DOWTHU ¶
func (_Datetime *DatetimeCallerSession) DOWTHU() (*big.Int, error)
DOWTHU is a free data retrieval call binding the contract method 0xcfbb9f37.
Solidity: function DOW_THU() view returns(uint256)
func (*DatetimeCallerSession) DOWTUE ¶
func (_Datetime *DatetimeCallerSession) DOWTUE() (*big.Int, error)
DOWTUE is a free data retrieval call binding the contract method 0x126702a0.
Solidity: function DOW_TUE() view returns(uint256)
func (*DatetimeCallerSession) DOWWED ¶
func (_Datetime *DatetimeCallerSession) DOWWED() (*big.Int, error)
DOWWED is a free data retrieval call binding the contract method 0x8bbf51b7.
Solidity: function DOW_WED() view returns(uint256)
func (*DatetimeCallerSession) DaysFromDate ¶
func (_Datetime *DatetimeCallerSession) DaysFromDate(year *big.Int, month *big.Int, day *big.Int) (*big.Int, error)
DaysFromDate is a free data retrieval call binding the contract method 0x1e0582e9.
Solidity: function _daysFromDate(uint256 year, uint256 month, uint256 day) pure returns(uint256 _days)
func (*DatetimeCallerSession) DaysToDate ¶
func (_Datetime *DatetimeCallerSession) DaysToDate(_days *big.Int) (struct { Year *big.Int Month *big.Int Day *big.Int }, error)
DaysToDate is a free data retrieval call binding the contract method 0x90059aed.
Solidity: function _daysToDate(uint256 _days) pure returns(uint256 year, uint256 month, uint256 day)
func (*DatetimeCallerSession) DiffDays ¶
func (_Datetime *DatetimeCallerSession) DiffDays(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
DiffDays is a free data retrieval call binding the contract method 0xc9d34622.
Solidity: function diffDays(uint256 fromTimestamp, uint256 toTimestamp) pure returns(uint256 _days)
func (*DatetimeCallerSession) DiffHours ¶
func (_Datetime *DatetimeCallerSession) DiffHours(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
DiffHours is a free data retrieval call binding the contract method 0x2af123b8.
Solidity: function diffHours(uint256 fromTimestamp, uint256 toTimestamp) pure returns(uint256 _hours)
func (*DatetimeCallerSession) DiffMinutes ¶
func (_Datetime *DatetimeCallerSession) DiffMinutes(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
DiffMinutes is a free data retrieval call binding the contract method 0x02e98e0d.
Solidity: function diffMinutes(uint256 fromTimestamp, uint256 toTimestamp) pure returns(uint256 _minutes)
func (*DatetimeCallerSession) DiffMonths ¶
func (_Datetime *DatetimeCallerSession) DiffMonths(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
DiffMonths is a free data retrieval call binding the contract method 0x7be34109.
Solidity: function diffMonths(uint256 fromTimestamp, uint256 toTimestamp) pure returns(uint256 _months)
func (*DatetimeCallerSession) DiffSeconds ¶
func (_Datetime *DatetimeCallerSession) DiffSeconds(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
DiffSeconds is a free data retrieval call binding the contract method 0x62fb9697.
Solidity: function diffSeconds(uint256 fromTimestamp, uint256 toTimestamp) pure returns(uint256 _seconds)
func (*DatetimeCallerSession) DiffYears ¶
func (_Datetime *DatetimeCallerSession) DiffYears(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
DiffYears is a free data retrieval call binding the contract method 0xff2258cb.
Solidity: function diffYears(uint256 fromTimestamp, uint256 toTimestamp) pure returns(uint256 _years)
func (*DatetimeCallerSession) GetDay ¶
GetDay is a free data retrieval call binding the contract method 0x65c72840.
Solidity: function getDay(uint256 timestamp) pure returns(uint256 day)
func (*DatetimeCallerSession) GetDayOfWeek ¶
GetDayOfWeek is a free data retrieval call binding the contract method 0x22f8a2b8.
Solidity: function getDayOfWeek(uint256 timestamp) pure returns(uint256 dayOfWeek)
func (*DatetimeCallerSession) GetDaysInMonth ¶
func (_Datetime *DatetimeCallerSession) GetDaysInMonth(year *big.Int, month *big.Int) (*big.Int, error)
GetDaysInMonth is a free data retrieval call binding the contract method 0x3f9e0eb7.
Solidity: function _getDaysInMonth(uint256 year, uint256 month) pure returns(uint256 daysInMonth)
func (*DatetimeCallerSession) GetDaysInMonth2 ¶
GetDaysInMonth2 is a free data retrieval call binding the contract method 0x10848ddf.
Solidity: function getDaysInMonth(uint256 timestamp) pure returns(uint256 daysInMonth)
func (*DatetimeCallerSession) GetHour ¶
GetHour is a free data retrieval call binding the contract method 0x3e239e1a.
Solidity: function getHour(uint256 timestamp) pure returns(uint256 hour)
func (*DatetimeCallerSession) GetMinute ¶
GetMinute is a free data retrieval call binding the contract method 0xfa93f883.
Solidity: function getMinute(uint256 timestamp) pure returns(uint256 minute)
func (*DatetimeCallerSession) GetMonth ¶
GetMonth is a free data retrieval call binding the contract method 0xa324ad24.
Solidity: function getMonth(uint256 timestamp) pure returns(uint256 month)
func (*DatetimeCallerSession) GetSecond ¶
GetSecond is a free data retrieval call binding the contract method 0x8aa001fc.
Solidity: function getSecond(uint256 timestamp) pure returns(uint256 second)
func (*DatetimeCallerSession) GetYear ¶
GetYear is a free data retrieval call binding the contract method 0x92d66313.
Solidity: function getYear(uint256 timestamp) pure returns(uint256 year)
func (*DatetimeCallerSession) IsLeapYear ¶
func (_Datetime *DatetimeCallerSession) IsLeapYear(timestamp *big.Int) (bool, error)
IsLeapYear is a free data retrieval call binding the contract method 0xb8d16dbc.
Solidity: function isLeapYear(uint256 timestamp) pure returns(bool leapYear)
func (*DatetimeCallerSession) IsLeapYear2 ¶
func (_Datetime *DatetimeCallerSession) IsLeapYear2(year *big.Int) (bool, error)
IsLeapYear2 is a free data retrieval call binding the contract method 0xb05eb08d.
Solidity: function _isLeapYear(uint256 year) pure returns(bool leapYear)
func (*DatetimeCallerSession) IsValidDate ¶
func (_Datetime *DatetimeCallerSession) IsValidDate(year *big.Int, month *big.Int, day *big.Int) (bool, error)
IsValidDate is a free data retrieval call binding the contract method 0x14b2d6dc.
Solidity: function isValidDate(uint256 year, uint256 month, uint256 day) pure returns(bool valid)
func (*DatetimeCallerSession) IsValidDateTime ¶
func (_Datetime *DatetimeCallerSession) IsValidDateTime(year *big.Int, month *big.Int, day *big.Int, hour *big.Int, minute *big.Int, second *big.Int) (bool, error)
IsValidDateTime is a free data retrieval call binding the contract method 0x3293d007.
Solidity: function isValidDateTime(uint256 year, uint256 month, uint256 day, uint256 hour, uint256 minute, uint256 second) pure returns(bool valid)
func (*DatetimeCallerSession) IsWeekDay ¶
func (_Datetime *DatetimeCallerSession) IsWeekDay(timestamp *big.Int) (bool, error)
IsWeekDay is a free data retrieval call binding the contract method 0xd6582d0d.
Solidity: function isWeekDay(uint256 timestamp) pure returns(bool weekDay)
func (*DatetimeCallerSession) IsWeekEnd ¶
func (_Datetime *DatetimeCallerSession) IsWeekEnd(timestamp *big.Int) (bool, error)
IsWeekEnd is a free data retrieval call binding the contract method 0x4371c465.
Solidity: function isWeekEnd(uint256 timestamp) pure returns(bool weekEnd)
func (*DatetimeCallerSession) Now ¶
func (_Datetime *DatetimeCallerSession) Now() (*big.Int, error)
Now is a free data retrieval call binding the contract method 0xb3bb8cd4.
Solidity: function _now() view returns(uint256 timestamp)
func (*DatetimeCallerSession) NowDateTime ¶
func (_Datetime *DatetimeCallerSession) NowDateTime() (struct { Year *big.Int Month *big.Int Day *big.Int Hour *big.Int Minute *big.Int Second *big.Int }, error)
NowDateTime is a free data retrieval call binding the contract method 0x9220d426.
Solidity: function _nowDateTime() view returns(uint256 year, uint256 month, uint256 day, uint256 hour, uint256 minute, uint256 second)
func (*DatetimeCallerSession) OFFSET19700101 ¶
func (_Datetime *DatetimeCallerSession) OFFSET19700101() (*big.Int, error)
OFFSET19700101 is a free data retrieval call binding the contract method 0xa3f144ae.
Solidity: function OFFSET19700101() view returns(int256)
func (*DatetimeCallerSession) SECONDSPERDAY ¶
func (_Datetime *DatetimeCallerSession) SECONDSPERDAY() (*big.Int, error)
SECONDSPERDAY is a free data retrieval call binding the contract method 0x74f0314f.
Solidity: function SECONDS_PER_DAY() view returns(uint256)
func (*DatetimeCallerSession) SECONDSPERHOUR ¶
func (_Datetime *DatetimeCallerSession) SECONDSPERHOUR() (*big.Int, error)
SECONDSPERHOUR is a free data retrieval call binding the contract method 0x4df86126.
Solidity: function SECONDS_PER_HOUR() view returns(uint256)
func (*DatetimeCallerSession) SECONDSPERMINUTE ¶
func (_Datetime *DatetimeCallerSession) SECONDSPERMINUTE() (*big.Int, error)
SECONDSPERMINUTE is a free data retrieval call binding the contract method 0xe9556430.
Solidity: function SECONDS_PER_MINUTE() view returns(uint256)
func (*DatetimeCallerSession) SubDays ¶
func (_Datetime *DatetimeCallerSession) SubDays(timestamp *big.Int, _days *big.Int) (*big.Int, error)
SubDays is a free data retrieval call binding the contract method 0xc7b6fd6a.
Solidity: function subDays(uint256 timestamp, uint256 _days) pure returns(uint256 newTimestamp)
func (*DatetimeCallerSession) SubHours ¶
func (_Datetime *DatetimeCallerSession) SubHours(timestamp *big.Int, _hours *big.Int) (*big.Int, error)
SubHours is a free data retrieval call binding the contract method 0x00501553.
Solidity: function subHours(uint256 timestamp, uint256 _hours) pure returns(uint256 newTimestamp)
func (*DatetimeCallerSession) SubMinutes ¶
func (_Datetime *DatetimeCallerSession) SubMinutes(timestamp *big.Int, _minutes *big.Int) (*big.Int, error)
SubMinutes is a free data retrieval call binding the contract method 0x9e524caa.
Solidity: function subMinutes(uint256 timestamp, uint256 _minutes) pure returns(uint256 newTimestamp)
func (*DatetimeCallerSession) SubMonths ¶
func (_Datetime *DatetimeCallerSession) SubMonths(timestamp *big.Int, _months *big.Int) (*big.Int, error)
SubMonths is a free data retrieval call binding the contract method 0xad203bd4.
Solidity: function subMonths(uint256 timestamp, uint256 _months) pure returns(uint256 newTimestamp)
func (*DatetimeCallerSession) SubSeconds ¶
func (_Datetime *DatetimeCallerSession) SubSeconds(timestamp *big.Int, _seconds *big.Int) (*big.Int, error)
SubSeconds is a free data retrieval call binding the contract method 0xf615ed54.
Solidity: function subSeconds(uint256 timestamp, uint256 _seconds) pure returns(uint256 newTimestamp)
func (*DatetimeCallerSession) SubYears ¶
func (_Datetime *DatetimeCallerSession) SubYears(timestamp *big.Int, _years *big.Int) (*big.Int, error)
SubYears is a free data retrieval call binding the contract method 0x444fda82.
Solidity: function subYears(uint256 timestamp, uint256 _years) pure returns(uint256 newTimestamp)
func (*DatetimeCallerSession) TimestampFromDate ¶
func (_Datetime *DatetimeCallerSession) TimestampFromDate(year *big.Int, month *big.Int, day *big.Int) (*big.Int, error)
TimestampFromDate is a free data retrieval call binding the contract method 0x1f4f77b2.
Solidity: function timestampFromDate(uint256 year, uint256 month, uint256 day) pure returns(uint256 timestamp)
func (*DatetimeCallerSession) TimestampFromDateTime ¶
func (_Datetime *DatetimeCallerSession) TimestampFromDateTime(year *big.Int, month *big.Int, day *big.Int, hour *big.Int, minute *big.Int, second *big.Int) (*big.Int, error)
TimestampFromDateTime is a free data retrieval call binding the contract method 0x5e05bd6d.
Solidity: function timestampFromDateTime(uint256 year, uint256 month, uint256 day, uint256 hour, uint256 minute, uint256 second) pure returns(uint256 timestamp)
func (*DatetimeCallerSession) TimestampToDate ¶
func (_Datetime *DatetimeCallerSession) TimestampToDate(timestamp *big.Int) (struct { Year *big.Int Month *big.Int Day *big.Int }, error)
TimestampToDate is a free data retrieval call binding the contract method 0xde5101af.
Solidity: function timestampToDate(uint256 timestamp) pure returns(uint256 year, uint256 month, uint256 day)
func (*DatetimeCallerSession) TimestampToDateTime ¶
func (_Datetime *DatetimeCallerSession) TimestampToDateTime(timestamp *big.Int) (struct { Year *big.Int Month *big.Int Day *big.Int Hour *big.Int Minute *big.Int Second *big.Int }, error)
TimestampToDateTime is a free data retrieval call binding the contract method 0xea1c1690.
Solidity: function timestampToDateTime(uint256 timestamp) pure returns(uint256 year, uint256 month, uint256 day, uint256 hour, uint256 minute, uint256 second)
type DatetimeFilterer ¶
type DatetimeFilterer struct {
// contains filtered or unexported fields
}
DatetimeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewDatetimeFilterer ¶
func NewDatetimeFilterer(address common.Address, filterer bind.ContractFilterer) (*DatetimeFilterer, error)
NewDatetimeFilterer creates a new log filterer instance of Datetime, bound to a specific deployed contract.
type DatetimeRaw ¶
type DatetimeRaw struct {
Contract *Datetime // Generic contract binding to access the raw methods on
}
DatetimeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*DatetimeRaw) Call ¶
func (_Datetime *DatetimeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*DatetimeRaw) Transact ¶
func (_Datetime *DatetimeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DatetimeRaw) Transfer ¶
func (_Datetime *DatetimeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type DatetimeSession ¶
type DatetimeSession struct { Contract *Datetime // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
DatetimeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*DatetimeSession) AddDays ¶
AddDays is a free data retrieval call binding the contract method 0x7217523c.
Solidity: function addDays(uint256 timestamp, uint256 _days) pure returns(uint256 newTimestamp)
func (*DatetimeSession) AddHours ¶
AddHours is a free data retrieval call binding the contract method 0x4b321502.
Solidity: function addHours(uint256 timestamp, uint256 _hours) pure returns(uint256 newTimestamp)
func (*DatetimeSession) AddMinutes ¶
func (_Datetime *DatetimeSession) AddMinutes(timestamp *big.Int, _minutes *big.Int) (*big.Int, error)
AddMinutes is a free data retrieval call binding the contract method 0x89a3a00d.
Solidity: function addMinutes(uint256 timestamp, uint256 _minutes) pure returns(uint256 newTimestamp)
func (*DatetimeSession) AddMonths ¶
AddMonths is a free data retrieval call binding the contract method 0x4355644d.
Solidity: function addMonths(uint256 timestamp, uint256 _months) pure returns(uint256 newTimestamp)
func (*DatetimeSession) AddSeconds ¶
func (_Datetime *DatetimeSession) AddSeconds(timestamp *big.Int, _seconds *big.Int) (*big.Int, error)
AddSeconds is a free data retrieval call binding the contract method 0x8d4a2d39.
Solidity: function addSeconds(uint256 timestamp, uint256 _seconds) pure returns(uint256 newTimestamp)
func (*DatetimeSession) AddYears ¶
AddYears is a free data retrieval call binding the contract method 0x442b8c79.
Solidity: function addYears(uint256 timestamp, uint256 _years) pure returns(uint256 newTimestamp)
func (*DatetimeSession) DOWFRI ¶
func (_Datetime *DatetimeSession) DOWFRI() (*big.Int, error)
DOWFRI is a free data retrieval call binding the contract method 0xd2b50743.
Solidity: function DOW_FRI() view returns(uint256)
func (*DatetimeSession) DOWMON ¶
func (_Datetime *DatetimeSession) DOWMON() (*big.Int, error)
DOWMON is a free data retrieval call binding the contract method 0xf9fd5250.
Solidity: function DOW_MON() view returns(uint256)
func (*DatetimeSession) DOWSAT ¶
func (_Datetime *DatetimeSession) DOWSAT() (*big.Int, error)
DOWSAT is a free data retrieval call binding the contract method 0xc7edf88c.
Solidity: function DOW_SAT() view returns(uint256)
func (*DatetimeSession) DOWSUN ¶
func (_Datetime *DatetimeSession) DOWSUN() (*big.Int, error)
DOWSUN is a free data retrieval call binding the contract method 0x29441674.
Solidity: function DOW_SUN() view returns(uint256)
func (*DatetimeSession) DOWTHU ¶
func (_Datetime *DatetimeSession) DOWTHU() (*big.Int, error)
DOWTHU is a free data retrieval call binding the contract method 0xcfbb9f37.
Solidity: function DOW_THU() view returns(uint256)
func (*DatetimeSession) DOWTUE ¶
func (_Datetime *DatetimeSession) DOWTUE() (*big.Int, error)
DOWTUE is a free data retrieval call binding the contract method 0x126702a0.
Solidity: function DOW_TUE() view returns(uint256)
func (*DatetimeSession) DOWWED ¶
func (_Datetime *DatetimeSession) DOWWED() (*big.Int, error)
DOWWED is a free data retrieval call binding the contract method 0x8bbf51b7.
Solidity: function DOW_WED() view returns(uint256)
func (*DatetimeSession) DaysFromDate ¶
func (_Datetime *DatetimeSession) DaysFromDate(year *big.Int, month *big.Int, day *big.Int) (*big.Int, error)
DaysFromDate is a free data retrieval call binding the contract method 0x1e0582e9.
Solidity: function _daysFromDate(uint256 year, uint256 month, uint256 day) pure returns(uint256 _days)
func (*DatetimeSession) DaysToDate ¶
func (_Datetime *DatetimeSession) DaysToDate(_days *big.Int) (struct { Year *big.Int Month *big.Int Day *big.Int }, error)
DaysToDate is a free data retrieval call binding the contract method 0x90059aed.
Solidity: function _daysToDate(uint256 _days) pure returns(uint256 year, uint256 month, uint256 day)
func (*DatetimeSession) DiffDays ¶
func (_Datetime *DatetimeSession) DiffDays(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
DiffDays is a free data retrieval call binding the contract method 0xc9d34622.
Solidity: function diffDays(uint256 fromTimestamp, uint256 toTimestamp) pure returns(uint256 _days)
func (*DatetimeSession) DiffHours ¶
func (_Datetime *DatetimeSession) DiffHours(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
DiffHours is a free data retrieval call binding the contract method 0x2af123b8.
Solidity: function diffHours(uint256 fromTimestamp, uint256 toTimestamp) pure returns(uint256 _hours)
func (*DatetimeSession) DiffMinutes ¶
func (_Datetime *DatetimeSession) DiffMinutes(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
DiffMinutes is a free data retrieval call binding the contract method 0x02e98e0d.
Solidity: function diffMinutes(uint256 fromTimestamp, uint256 toTimestamp) pure returns(uint256 _minutes)
func (*DatetimeSession) DiffMonths ¶
func (_Datetime *DatetimeSession) DiffMonths(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
DiffMonths is a free data retrieval call binding the contract method 0x7be34109.
Solidity: function diffMonths(uint256 fromTimestamp, uint256 toTimestamp) pure returns(uint256 _months)
func (*DatetimeSession) DiffSeconds ¶
func (_Datetime *DatetimeSession) DiffSeconds(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
DiffSeconds is a free data retrieval call binding the contract method 0x62fb9697.
Solidity: function diffSeconds(uint256 fromTimestamp, uint256 toTimestamp) pure returns(uint256 _seconds)
func (*DatetimeSession) DiffYears ¶
func (_Datetime *DatetimeSession) DiffYears(fromTimestamp *big.Int, toTimestamp *big.Int) (*big.Int, error)
DiffYears is a free data retrieval call binding the contract method 0xff2258cb.
Solidity: function diffYears(uint256 fromTimestamp, uint256 toTimestamp) pure returns(uint256 _years)
func (*DatetimeSession) GetDay ¶
GetDay is a free data retrieval call binding the contract method 0x65c72840.
Solidity: function getDay(uint256 timestamp) pure returns(uint256 day)
func (*DatetimeSession) GetDayOfWeek ¶
GetDayOfWeek is a free data retrieval call binding the contract method 0x22f8a2b8.
Solidity: function getDayOfWeek(uint256 timestamp) pure returns(uint256 dayOfWeek)
func (*DatetimeSession) GetDaysInMonth ¶
GetDaysInMonth is a free data retrieval call binding the contract method 0x3f9e0eb7.
Solidity: function _getDaysInMonth(uint256 year, uint256 month) pure returns(uint256 daysInMonth)
func (*DatetimeSession) GetDaysInMonth2 ¶
GetDaysInMonth2 is a free data retrieval call binding the contract method 0x10848ddf.
Solidity: function getDaysInMonth(uint256 timestamp) pure returns(uint256 daysInMonth)
func (*DatetimeSession) GetHour ¶
GetHour is a free data retrieval call binding the contract method 0x3e239e1a.
Solidity: function getHour(uint256 timestamp) pure returns(uint256 hour)
func (*DatetimeSession) GetMinute ¶
GetMinute is a free data retrieval call binding the contract method 0xfa93f883.
Solidity: function getMinute(uint256 timestamp) pure returns(uint256 minute)
func (*DatetimeSession) GetMonth ¶
GetMonth is a free data retrieval call binding the contract method 0xa324ad24.
Solidity: function getMonth(uint256 timestamp) pure returns(uint256 month)
func (*DatetimeSession) GetSecond ¶
GetSecond is a free data retrieval call binding the contract method 0x8aa001fc.
Solidity: function getSecond(uint256 timestamp) pure returns(uint256 second)
func (*DatetimeSession) GetYear ¶
GetYear is a free data retrieval call binding the contract method 0x92d66313.
Solidity: function getYear(uint256 timestamp) pure returns(uint256 year)
func (*DatetimeSession) IsLeapYear ¶
func (_Datetime *DatetimeSession) IsLeapYear(timestamp *big.Int) (bool, error)
IsLeapYear is a free data retrieval call binding the contract method 0xb8d16dbc.
Solidity: function isLeapYear(uint256 timestamp) pure returns(bool leapYear)
func (*DatetimeSession) IsLeapYear2 ¶
func (_Datetime *DatetimeSession) IsLeapYear2(year *big.Int) (bool, error)
IsLeapYear2 is a free data retrieval call binding the contract method 0xb05eb08d.
Solidity: function _isLeapYear(uint256 year) pure returns(bool leapYear)
func (*DatetimeSession) IsValidDate ¶
func (_Datetime *DatetimeSession) IsValidDate(year *big.Int, month *big.Int, day *big.Int) (bool, error)
IsValidDate is a free data retrieval call binding the contract method 0x14b2d6dc.
Solidity: function isValidDate(uint256 year, uint256 month, uint256 day) pure returns(bool valid)
func (*DatetimeSession) IsValidDateTime ¶
func (_Datetime *DatetimeSession) IsValidDateTime(year *big.Int, month *big.Int, day *big.Int, hour *big.Int, minute *big.Int, second *big.Int) (bool, error)
IsValidDateTime is a free data retrieval call binding the contract method 0x3293d007.
Solidity: function isValidDateTime(uint256 year, uint256 month, uint256 day, uint256 hour, uint256 minute, uint256 second) pure returns(bool valid)
func (*DatetimeSession) IsWeekDay ¶
func (_Datetime *DatetimeSession) IsWeekDay(timestamp *big.Int) (bool, error)
IsWeekDay is a free data retrieval call binding the contract method 0xd6582d0d.
Solidity: function isWeekDay(uint256 timestamp) pure returns(bool weekDay)
func (*DatetimeSession) IsWeekEnd ¶
func (_Datetime *DatetimeSession) IsWeekEnd(timestamp *big.Int) (bool, error)
IsWeekEnd is a free data retrieval call binding the contract method 0x4371c465.
Solidity: function isWeekEnd(uint256 timestamp) pure returns(bool weekEnd)
func (*DatetimeSession) Now ¶
func (_Datetime *DatetimeSession) Now() (*big.Int, error)
Now is a free data retrieval call binding the contract method 0xb3bb8cd4.
Solidity: function _now() view returns(uint256 timestamp)
func (*DatetimeSession) NowDateTime ¶
func (_Datetime *DatetimeSession) NowDateTime() (struct { Year *big.Int Month *big.Int Day *big.Int Hour *big.Int Minute *big.Int Second *big.Int }, error)
NowDateTime is a free data retrieval call binding the contract method 0x9220d426.
Solidity: function _nowDateTime() view returns(uint256 year, uint256 month, uint256 day, uint256 hour, uint256 minute, uint256 second)
func (*DatetimeSession) OFFSET19700101 ¶
func (_Datetime *DatetimeSession) OFFSET19700101() (*big.Int, error)
OFFSET19700101 is a free data retrieval call binding the contract method 0xa3f144ae.
Solidity: function OFFSET19700101() view returns(int256)
func (*DatetimeSession) SECONDSPERDAY ¶
func (_Datetime *DatetimeSession) SECONDSPERDAY() (*big.Int, error)
SECONDSPERDAY is a free data retrieval call binding the contract method 0x74f0314f.
Solidity: function SECONDS_PER_DAY() view returns(uint256)
func (*DatetimeSession) SECONDSPERHOUR ¶
func (_Datetime *DatetimeSession) SECONDSPERHOUR() (*big.Int, error)
SECONDSPERHOUR is a free data retrieval call binding the contract method 0x4df86126.
Solidity: function SECONDS_PER_HOUR() view returns(uint256)
func (*DatetimeSession) SECONDSPERMINUTE ¶
func (_Datetime *DatetimeSession) SECONDSPERMINUTE() (*big.Int, error)
SECONDSPERMINUTE is a free data retrieval call binding the contract method 0xe9556430.
Solidity: function SECONDS_PER_MINUTE() view returns(uint256)
func (*DatetimeSession) SubDays ¶
SubDays is a free data retrieval call binding the contract method 0xc7b6fd6a.
Solidity: function subDays(uint256 timestamp, uint256 _days) pure returns(uint256 newTimestamp)
func (*DatetimeSession) SubHours ¶
SubHours is a free data retrieval call binding the contract method 0x00501553.
Solidity: function subHours(uint256 timestamp, uint256 _hours) pure returns(uint256 newTimestamp)
func (*DatetimeSession) SubMinutes ¶
func (_Datetime *DatetimeSession) SubMinutes(timestamp *big.Int, _minutes *big.Int) (*big.Int, error)
SubMinutes is a free data retrieval call binding the contract method 0x9e524caa.
Solidity: function subMinutes(uint256 timestamp, uint256 _minutes) pure returns(uint256 newTimestamp)
func (*DatetimeSession) SubMonths ¶
SubMonths is a free data retrieval call binding the contract method 0xad203bd4.
Solidity: function subMonths(uint256 timestamp, uint256 _months) pure returns(uint256 newTimestamp)
func (*DatetimeSession) SubSeconds ¶
func (_Datetime *DatetimeSession) SubSeconds(timestamp *big.Int, _seconds *big.Int) (*big.Int, error)
SubSeconds is a free data retrieval call binding the contract method 0xf615ed54.
Solidity: function subSeconds(uint256 timestamp, uint256 _seconds) pure returns(uint256 newTimestamp)
func (*DatetimeSession) SubYears ¶
SubYears is a free data retrieval call binding the contract method 0x444fda82.
Solidity: function subYears(uint256 timestamp, uint256 _years) pure returns(uint256 newTimestamp)
func (*DatetimeSession) TimestampFromDate ¶
func (_Datetime *DatetimeSession) TimestampFromDate(year *big.Int, month *big.Int, day *big.Int) (*big.Int, error)
TimestampFromDate is a free data retrieval call binding the contract method 0x1f4f77b2.
Solidity: function timestampFromDate(uint256 year, uint256 month, uint256 day) pure returns(uint256 timestamp)
func (*DatetimeSession) TimestampFromDateTime ¶
func (_Datetime *DatetimeSession) TimestampFromDateTime(year *big.Int, month *big.Int, day *big.Int, hour *big.Int, minute *big.Int, second *big.Int) (*big.Int, error)
TimestampFromDateTime is a free data retrieval call binding the contract method 0x5e05bd6d.
Solidity: function timestampFromDateTime(uint256 year, uint256 month, uint256 day, uint256 hour, uint256 minute, uint256 second) pure returns(uint256 timestamp)
func (*DatetimeSession) TimestampToDate ¶
func (_Datetime *DatetimeSession) TimestampToDate(timestamp *big.Int) (struct { Year *big.Int Month *big.Int Day *big.Int }, error)
TimestampToDate is a free data retrieval call binding the contract method 0xde5101af.
Solidity: function timestampToDate(uint256 timestamp) pure returns(uint256 year, uint256 month, uint256 day)
func (*DatetimeSession) TimestampToDateTime ¶
func (_Datetime *DatetimeSession) TimestampToDateTime(timestamp *big.Int) (struct { Year *big.Int Month *big.Int Day *big.Int Hour *big.Int Minute *big.Int Second *big.Int }, error)
TimestampToDateTime is a free data retrieval call binding the contract method 0xea1c1690.
Solidity: function timestampToDateTime(uint256 timestamp) pure returns(uint256 year, uint256 month, uint256 day, uint256 hour, uint256 minute, uint256 second)
type DatetimeTransactor ¶
type DatetimeTransactor struct {
// contains filtered or unexported fields
}
DatetimeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewDatetimeTransactor ¶
func NewDatetimeTransactor(address common.Address, transactor bind.ContractTransactor) (*DatetimeTransactor, error)
NewDatetimeTransactor creates a new write-only instance of Datetime, bound to a specific deployed contract.
type DatetimeTransactorRaw ¶
type DatetimeTransactorRaw struct {
Contract *DatetimeTransactor // Generic write-only contract binding to access the raw methods on
}
DatetimeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*DatetimeTransactorRaw) Transact ¶
func (_Datetime *DatetimeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DatetimeTransactorRaw) Transfer ¶
func (_Datetime *DatetimeTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type DatetimeTransactorSession ¶
type DatetimeTransactorSession struct { Contract *DatetimeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
DatetimeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.